March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
I have to sort the sub header columns
Solved! Go to Solution.
I have found the solution for this topic.
In above case we have sub headers are repeating as MTD and YTD for 8 columns.
What we did was in switch function we have used space for MTD and YTD so that each and every sub ehader will be unique
Ex: 1. "MTD", "YTD"
2. " MTD", " YTD"
3. " MTD", " YTD"
We have given extra space so that dax considers each sub header as unique and sort accordingly.
I have found the solution for this topic.
In above case we have sub headers are repeating as MTD and YTD for 8 columns.
What we did was in switch function we have used space for MTD and YTD so that each and every sub ehader will be unique
Ex: 1. "MTD", "YTD"
2. " MTD", " YTD"
3. " MTD", " YTD"
We have given extra space so that dax considers each sub header as unique and sort accordingly.
@Optimusprime_25 , The information you have provided is not making the problem clear to me. Can you please explain with an example?
refer if my blog on a similar topic can help
https://medium.com/chandakamit/power-bi-when-i-felt-lazy-and-i-needed-too-many-measures-ed8de20d9f79
Appreciate your Kudos.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
123 | |
86 | |
73 | |
57 | |
52 |
User | Count |
---|---|
197 | |
133 | |
107 | |
69 | |
65 |