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! It's time to submit your entry. Live now!
Hi,
I would like to add a text box that dynamically shows the rolling 12 month date range in my Month & Year page filter which is set to Relative Date, is in the last 12 calendar months.
For example I would like the Text box to read as below:
Starters Diversity - Rolling 12 Months 01/12/2021 - 30/11/2022
Would be very grateful for any help with this.
Solved! Go to Solution.
@Anonymous , You can create a measure and use that in text box, make sure Q&A feature is enabled
new measure =
var _max = maxx(allselected(Date),Date[Date])
var _min = eomonth(_max, -12) +1
return
"Rolling 12 Month " & _mn & " to " _max
Managed to get this to work with date format in DD/MM/YYYY for UK format.
@Anonymous , You can create a measure and use that in text box, make sure Q&A feature is enabled
new measure =
var _max = maxx(allselected(Date),Date[Date])
var _min = eomonth(_max, -12) +1
return
"Rolling 12 Month " & _mn & " to " _max
Just a quick question how can I get the dates to show DD/MM/YYYY format?
Managed to get this to work with date format in DD/MM/YYYY for UK format.
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 60 | |
| 49 | |
| 30 | |
| 25 | |
| 23 |
| User | Count |
|---|---|
| 131 | |
| 103 | |
| 58 | |
| 39 | |
| 31 |