Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi Community,
After playing with Power Query, I can officially say that I'm stuck.
I have source data as shown below.
the requirement is to denormalize the above data to be denormalized as shown below
Appreciated for the Help,Thank You.
Solved! Go to Solution.
Hi @naga449 ,
So you can do it something like shown in steps below.
Consider the data as follows:
Then I created a custom column in Power Query editor, to get the split of both Rank and Grade columns in a single step as a Table:
Formula for custom columns:
Table.FromColumns(
{
Text.Split([Rank], "|"),
Text.Split([Grade], "|")
},
{"Rank", "Grad"}
)
Once this is created a column is created which can be expanded to extract the final split on columns:
Click on the Expand icon as highlighted in above picture and you see the columns:
Once you expand them you get the resultant columns:
You can simple rename the new columns and delete the previous ones and you get the desired results:
Hope the solution helps.
Hi @naga449 ,
So you can do it something like shown in steps below.
Consider the data as follows:
Then I created a custom column in Power Query editor, to get the split of both Rank and Grade columns in a single step as a Table:
Formula for custom columns:
Table.FromColumns(
{
Text.Split([Rank], "|"),
Text.Split([Grade], "|")
},
{"Rank", "Grad"}
)
Once this is created a column is created which can be expanded to extract the final split on columns:
Click on the Expand icon as highlighted in above picture and you see the columns:
Once you expand them you get the resultant columns:
You can simple rename the new columns and delete the previous ones and you get the desired results:
Hope the solution helps.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
104 | |
75 | |
46 | |
39 | |
33 |
User | Count |
---|---|
165 | |
90 | |
66 | |
46 | |
43 |