Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
Hi All,
Could you please help in below report , where a Last month and Last Year Same Month measure has to work for both Normal and Fiscal Calendar.
Is there any way to add month format "YYYY-MM" in date dimension hierarchy??
Thanks in Advance,
Ashok kumar M
Solved! Go to Solution.
Hi @AshokkumarM,
The best way is to create your own hierachy dimension:
Just right click on the columns you want and choose New Hierarchy then just add all your columns in that hierarchy and add it to your visuals.
Regards,
MFelix
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi,
=1*(DATE(LEFT(Data[Fiscal Month],4),RIGHT(Data[Fiscal Month],2),1))
=CALCULATE(SUM(Data[Sales]),PREVIOUSMONTH(Calendar[Date]))
=CALCULATE(SUM(Data[Sales]),SAMEPERIODLASTYEAR(Calendar[Date]))
Hope this helps.
Hi,
Share the link from where i can download your file. Also, show the expected result there.
Hi @AshokkumarM,
The best way is to create your own hierachy dimension:
Just right click on the columns you want and choose New Hierarchy then just add all your columns in that hierarchy and add it to your visuals.
Regards,
MFelix
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsDon't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 23 | |
| 23 | |
| 21 | |
| 20 | |
| 15 |
| User | Count |
|---|---|
| 58 | |
| 55 | |
| 43 | |
| 30 | |
| 24 |