March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
I'm hoping someone can steer me in the right direction. I have a table with a list of employees and and calculated benefits for their weekly check. I need to be able to upload this data but I'm not sure how I can perform this transformation. The original table lists a row for every benefit but I need to pivot this so I only get one line per employee. To make it more challenging, not every employee has the same number of benefits so one one employee the first benefit might be Annuity but for the next the first may be INS. The transposition below is the closest I've gotten. I need the first row to be column 1. Any help would be GREATLY appreciated.
Solved! Go to Solution.
Hi @AskGenie ,
My apology for not paying enough attention.
Starting point: (Based on the file I attached earlier) Step: Changed Type
We need two steps to achieve the outcome:
Step1: GroupBy
Once the GroupBy step generated, go to the formula bar replace the highlighted code below (Image A) with highlighted in Image B.
Image A
Image B
The next step is add a custom column with code below:
The final step is to combine all the tables by adding a custom step (blue circle below) and add the highlighted code:
Regards
KT
BRILLIANT! Thank you soooo much. I don't exactly understand what we did here but it works perfectly. 🙂
Thank you for your response, however, forgive me but I don't understand. should I implement your suggestion starting from from where I left off (employee code at top) or from my original table? What would a lookup formula for this look like? Thank you.
Hi @AskGenie ,
My apology for not paying enough attention.
Starting point: (Based on the file I attached earlier) Step: Changed Type
We need two steps to achieve the outcome:
Step1: GroupBy
Once the GroupBy step generated, go to the formula bar replace the highlighted code below (Image A) with highlighted in Image B.
Image A
Image B
The next step is add a custom column with code below:
The final step is to combine all the tables by adding a custom step (blue circle below) and add the highlighted code:
Regards
KT
I may have mis stated. I need the exact opposit. I need this
to look like this
Thank you.
Hi @AskGenie ,
There are a few ways to achieve the outcome.
One of the way is:
Regards
KT
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.