Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi guys. Long time listener, first time caller.
My problem is that I can't get the date hierarchy with just the year showing to sort in descending order, and when I try to switch the header to be a text column of the year it breaks my measures. I have tried sorting the date hierarchy column and adding a key to sort it properly and neither worked.
For my data set, I'm showing current year and prior year data for a measure that is built to only show the MTD and PYMTD. Here's the formula:
I'm curious about why adding a key to sort it by didn't work. That's what I'd usually recommend for this problem. Something simple like (0-YEAR([date])) would get you the order you want. How/why did it fail to meet your needs?
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!