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 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:
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 59 | |
| 43 | |
| 42 | |
| 23 | |
| 17 |
| User | Count |
|---|---|
| 190 | |
| 122 | |
| 96 | |
| 66 | |
| 47 |