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 my scenario is that I have a calendar table in my report per below. I have a report page filter by the Date column (Can only filter 1 date at a time). Is it possible to create a measure such that when a page filter is used to select a Date it uses the data from the corresponding Year and Month columns shown below to generate text which I can use as a dynamic Report page header?
For e.g. if the Date was filtered to 2019-04 from below the dynamic text generated would be "Report for period ended Apr 2019"
Solved! Go to Solution.
HI @Areef
You can do this with a measure and take the values directly from the selected date e.g.
Measure = "Report for period ended " & FORMAT(MONTH(SELECTEDVALUE('Table'[Date])),"mmm") & " " & YEAR(SELECTEDVALUE('Table'[Date]))
Regards
Phil
Proud to be a Super User!
Philip thank you very much for your help. Keep up the good work you & Mynda continue to do
HI @Areef
You can do this with a measure and take the values directly from the selected date e.g.
Measure = "Report for period ended " & FORMAT(MONTH(SELECTEDVALUE('Table'[Date])),"mmm") & " " & YEAR(SELECTEDVALUE('Table'[Date]))
Regards
Phil
Proud to be a Super User!
Slight modification to formula. What worked was:
Thanks again Philip and keep up your great work
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 | |
99 | |
80 | |
70 | |
59 |
User | Count |
---|---|
149 | |
114 | |
107 | |
89 | |
67 |