Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
115 | |
100 | |
89 | |
68 | |
61 |
User | Count |
---|---|
150 | |
120 | |
100 | |
87 | |
68 |