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
I would like to display the previous month in some sort of visual so I can create appropriate YTD - "Month" titles on my dashboards. My data is refreshed every month, so the prior month would work best in this situation.
I started using this simple formulain a measure, but it returns a number and not a month name.
Solved! Go to Solution.
Try like
Previous Month = format(date(year(today()), month(today())-1,1),"MMM-YYYY")
You can change format as per need
Here's something that's worked for me in the past, and it accounts for the January back to December issue I have when subtracting 1 from the month number:
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!