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 All,
I have a raw data and I need to combine two columns (Status Mapper and Ultimate Group Mapper) into one column and one column data (Value Mapper) into one row , as shown in New Table. Can anyone please suggest how to do this.
Raw Data | |||
Status Mapper | Ultimate Group Mapper | Value Mapper | Item Counter |
PL | DW | +$250m | 1 |
PL | DW | +$250m | 1 |
PL | SPG | +$30m | 1 |
PL | DW | +$10m | 1 |
TD | DW | Missing numeric value | 1 |
PL | SPG | +$30m | 1 |
PL | SPG | +$250m | 1 |
TD | DW | -$10m | 1 |
#N/A | #N/A | +$250m | 1 |
New Table | |||||
-$10m | +$10m | +$30m | +$250m | Missing numeric value | |
PL | 1 | 2 | 3 | ||
TD | 1 | 1 | |||
DW | 1 | 1 | 2 | 1 | |
SPG | 2 | 1 |
Solved! Go to Solution.
Copying DAX from this post? Click here for a hack to quickly replace it with your own table names
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C
I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com
Copying DAX from this post? Click here for a hack to quickly replace it with your own table names
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C
I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com
you can get what you ask by making two pivots and an append table.
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.