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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
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êsVote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 65 | |
| 52 | |
| 45 | |
| 23 | |
| 21 |
| User | Count |
|---|---|
| 141 | |
| 114 | |
| 50 | |
| 37 | |
| 30 |