+ Reply to Thread
Results 1 to 5 of 5

Power query Table transform columns add data type

  1. #1
    Forum Contributor
    Join Date
    08-03-2021
    Location
    London
    MS-Off Ver
    365
    Posts
    669

    Power query Table transform columns add data type

    Hi,
    This is a two fold quetion,

    if I have a column transformation ;

    Please Login or Register  to view this content.
    Can I apply a data type , type number / Int64.type within this? I've tried and get errors,

    The second question is where I have the number 2 , is it possible to refer to another column ?

    Adding another column works;

    Please Login or Register  to view this content.

    I've attached the workbook I've used here.

    Richard.
    Attached Files Attached Files
    Last edited by Dicken; 07-04-2023 at 10:16 AM. Reason: Update to attachment with solution

  2. #2
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Power query Table transform columns add data type

    see:

    Please Login or Register  to view this content.
    typenumber.png

    it works in the second query

    Please Login or Register  to view this content.
    Last edited by sandy666; 07-03-2023 at 10:07 AM.

  3. #3
    Forum Contributor
    Join Date
    08-03-2021
    Location
    London
    MS-Off Ver
    365
    Posts
    669

    Re: Power query Table transform columns add data type

    Thanks,
    I was putting the type outside of the Transformation {} ,
    Richard.

  4. #4
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Power query Table transform columns add data type

    Welcome

  5. #5
    Forum Contributor
    Join Date
    08-03-2021
    Location
    London
    MS-Off Ver
    365
    Posts
    669

    Re: Power query Table transform columns add data type

    Regarding the seocond part of the question, transforming one column by another I found a post on Stack, which helped and cam up with this,

    Please Login or Register  to view this content.
    And then wrap in Table from records,
    I've updated the attachments showing the working out if anyone is interested.

    RD

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Power Query, Transform Column by values in another columns
    By Dicken in forum Office 365
    Replies: 2
    Last Post: 06-30-2023, 09:10 AM
  2. [SOLVED] Power Query Transform multiple columns
    By Dicken in forum Office 365
    Replies: 2
    Last Post: 05-27-2023, 11:11 AM
  3. [SOLVED] Power Query: transform a table with sub-items.
    By T.I. in forum Excel General
    Replies: 9
    Last Post: 07-04-2022, 03:18 AM
  4. Replies: 0
    Last Post: 04-12-2022, 01:58 PM
  5. [SOLVED] Transform data in Power Query
    By no_Fate in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-19-2022, 06:25 AM
  6. [SOLVED] Power Query to transform current table
    By Vixx1 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 11-16-2020, 12:28 PM
  7. Replies: 1
    Last Post: 03-12-2019, 04:42 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1