Forum Discussion
Date slicer values in Table title
- 5 years ago
Hi PBInewbie21 ,
Create a measure as below:
Measure = var _mindate=MINX(ALLSELECTED('Date'),'Date'[Date]) var _maxdate=MAXX(ALLSELECTED('Date'),'Date'[Date]) Return "Orders from"&_mindate&" to "&_maxdateThen click the table visual>format>title:on>format:
Finally you will see:
For the related .pbix file,pls see attached.
Best Regards,
KellyDid I answer your question? Mark my post as a solution!
PBInewbie21 , You can use dynamic Title
https://docs.microsoft.com/en-us/power-bi/create-reports/desktop-conditional-format-visual-titles
create a measure like this and use in the title
New Measure =
"Order from " & Minx(allselected('Date'),'Date'[Date]) & " " & Minx(allselected('Date'),'Date'[Date])
Thanks for quick reply amitchandak .
I used MAXX function in the DAX you provided
New Measure =
"Order from " & Minx(allselected('Date'),'Date'[Date]) & " " & Maxx(allselected('Date'),'Date'[Date])
Problem is it is showing thr min and max date from Date table but not the exact date which is entered/ picked in Date slicer.
Is it possible to grab values from Date range boxes?