The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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/