Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Hi,
I would like to create a KPI card which shows the previous month as a text. For example, if it is January 2023 today then the previous month should display as 'December 2022' in the KPI card.
I tried to use the PREVIOUSMONTH function but the KPI card shows blank. I would appreciate any tips or suggestions.
Many Thanks
Best Regards
Roshan
Solved! Go to Solution.
Hi @Rosh89
A measure like this should get that for you:
Last Month = FORMAT(EOMONTH(TODAY(), -1), "mmmm yyyy")
Hi @Rosh89
A measure like this should get that for you:
Last Month = FORMAT(EOMONTH(TODAY(), -1), "mmmm yyyy")
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
26 | |
12 | |
11 | |
9 | |
9 |
User | Count |
---|---|
17 | |
14 | |
13 | |
13 | |
12 |