+ Reply to Thread
Results 1 to 1 of 1

Power query - transform help

  1. #1
    Registered User
    Join Date
    06-07-2018
    Location
    England
    MS-Off Ver
    2016
    Posts
    28

    Power query - transform help

    Hey all!

    So I'm working with an excel sheet that I've had running for a while now, that using power query takes data like the below example

    A-01-01-A
    00912300123A050
    A-02-01-A
    09312341233A050
    09312341233B050
    09312341233C050

    and makes it look like this ( | signifying a new column)

    A-01-01-A
    00912300123A050 | A-01-01-A
    09312341233A050 | A-02-01-A
    09312341233B050 | A-02-01-A
    09312341233C050 | A-02-01-A

    This has been working great however we recently changed some of our data and now I need to change the power query to do the same but the data will now look like this

    A02A01
    09312341233C050

    Is there a way I can edit the transform / get? to make this still work the same way, the short 6 digit bit will always be 6 digits but varies in it's characters i.e F2G123 FS1BF2

    Please Login or Register  to view this content.
    as you can see with the code it usually searches for "-" and then moves that to column 2

    I'm sorry if this post doesn't make too much sense, It's hard to explain.


    ----- SOLVED ------ used M language = Text.Length and the rest was straight forward
    Last edited by N3CREN; 10-23-2020 at 11:15 AM.

+ 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. Incremental refresh in Power Query / Get & Transform
    By SHI.NL in forum Excel General
    Replies: 1
    Last Post: 09-17-2019, 05:34 AM
  2. Power Query: Combine and Transform from folder
    By LUKE92 in forum Excel General
    Replies: 13
    Last Post: 06-26-2019, 12:34 AM
  3. [SOLVED] Power Query transform help
    By ierosadopr in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-09-2019, 05:25 AM
  4. Power Query (Get & Transform) on Mac
    By SHI.NL in forum Excel General
    Replies: 2
    Last Post: 05-18-2018, 09:24 AM
  5. [SOLVED] Power Query / Get & Transform filtering on text
    By SHI.NL in forum Excel General
    Replies: 5
    Last Post: 04-28-2018, 11:50 AM
  6. Replies: 3
    Last Post: 04-20-2018, 08:30 AM
  7. Get & Transform (Power Query) not showing certain tables
    By BamBamMoneyBags in forum Excel General
    Replies: 0
    Last Post: 03-22-2017, 12:22 PM

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