The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
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.