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 Community,
Hope you're doing well. Is there any way to create a dynamic column in pivot? I want to rearrage the order...
Instead of ABC I want to change the order for example to CBA, BAC or any order I would prefer. Thanks in advance!
Solved! Go to Solution.
@mrichman You can change the order by changing the default sort order of the column used for A, B, C. One way I do it is to create a lookup/dimesnion table with a different specified ordering.
One way is to:
1. Go to "Modeling" ribbon, choose "New Table"
2. Enter this DAX expression:
I've attached the PBIX too.
Respectfully,
Zoe Douglas (DataZoe)
Follow me on LinkedIn at https://www.linkedin.com/in/zoedouglas-data
See my reports and blog at https://www.datazoepowerbi.com/
@mrichman You can change the order by changing the default sort order of the column used for A, B, C. One way I do it is to create a lookup/dimesnion table with a different specified ordering.
One way is to:
1. Go to "Modeling" ribbon, choose "New Table"
2. Enter this DAX expression:
I've attached the PBIX too.
Respectfully,
Zoe Douglas (DataZoe)
Follow me on LinkedIn at https://www.linkedin.com/in/zoedouglas-data
See my reports and blog at https://www.datazoepowerbi.com/
User | Count |
---|---|
65 | |
61 | |
60 | |
53 | |
30 |
User | Count |
---|---|
180 | |
88 | |
71 | |
48 | |
46 |