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 wanted to display the last month with year in a card visual.
Suppose now it's Dec 2022, then it should display Nov 2022. If it's Jan 2023, it should display Dec 2022.
The format should be either "MMM YYYY" or full month name year.
Solved! Go to Solution.
Hi @Anonymous
Last Month = FORMAT(EOMONTH(TODAY(),-1), "MMMM /YYYY")
If you work with a data table and you want to filter you can also do something like:
Last Month = FORMAT(MAX(DimDate[Date]),-1), "MMMM /YYYY")
Best regards
Michael
-----------------------------------------------------
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Appreciate your thumbs up!
@ me in replies or I'll lose your thread.
hi @Anonymous
try to plot with a column like this:
MMMYYYY = FORMAT(EDATE(TODAY(), -1), "MMM YYYYY")
Hi @Anonymous
Last Month = FORMAT(EOMONTH(TODAY(),-1), "MMMM /YYYY")
If you work with a data table and you want to filter you can also do something like:
Last Month = FORMAT(MAX(DimDate[Date]),-1), "MMMM /YYYY")
Best regards
Michael
-----------------------------------------------------
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Appreciate your thumbs up!
@ me in replies or I'll lose your thread.
@Anonymous
Last Month = FORMAT(TODAY() - 1, "MMMM /YYYY")
@Anonymous
sorry, try this:
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!