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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I have created standard MTD, YTD, FY measures as shown below as calcualted items in a calculation group.
MTD = CALCULATE(SELECTEDMEASURE(), DATESMTD('Date'[Date]))YTD = CALCULATE(SELECTEDMEASURE(), DATESYTD('Date'[Date]))FY = CALCULATE(SELECTEDMEASURE(), ALLEXCEPT('Date', 'Date'[Year]))
I'd like to know if it's possible to modify the behaviour of these measures such that they show values as shown below when a month is part of the table. Sample File Link
Hey @VickyDev18 ,
please describe in more detail what you mean by "behave."
Next, when I remove the selection of May it becomes apparent that "FY" does not show the same values as in the image. What is the expectation/business rule for FY.
Regards,
Tom
FY should basically show the full year total when a month is NOT part of the visual or more specifically the row in the visual e.g. total row, but when month is in the row it should the monthly value.
HI @VickyDev18,
You cna add if statement to check the current hierarchy level and redirect to different calculation expression and output correspond result based on current hierarchy level.
Clever Hierarchy Handling in DAX - SQLBI
Regards,
Xiaoxin Sheng
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!
| User | Count |
|---|---|
| 58 | |
| 45 | |
| 42 | |
| 21 | |
| 18 |
| User | Count |
|---|---|
| 172 | |
| 107 | |
| 92 | |
| 54 | |
| 46 |