Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi,
For my report, i need my title to show last month of today's date.
For example, if we are Oct. 1st 2020, my report title should be
2020-Sep
I have a date table where my lastdate is TODAY()
How can I create a measure for this?
Solved! Go to Solution.
Could you please try the following:
Measure = DATE(YEAR(TODAY()),MONTH(TODAY())-1,DAY(TODAY()))
Measure = FORMAT(DATE(YEAR(TODAY()),MONTH(TODAY())-1,DAY(TODAY())), "YYYY-MM")
Could you please try the following:
Measure = DATE(YEAR(TODAY()),MONTH(TODAY())-1,DAY(TODAY()))
Measure = FORMAT(DATE(YEAR(TODAY()),MONTH(TODAY())-1,DAY(TODAY())), "YYYY-MM")
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
113 | |
97 | |
85 | |
70 | |
61 |
User | Count |
---|---|
151 | |
121 | |
104 | |
87 | |
67 |