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 All
Does anyone know how to create a dynamic header based on a selection within a grid? I know how to do it with slicers but it's not working when just selecting within a grid.
I've tried:
TCodeHeader = var tCodeSelected = SELECTEDVALUE('BI T-Code by Industry'[SAPTCode]) return "TCode: " & IF(ISBLANK(tCodeSelected), "All T-Codes", tCodeSelected)
and
TCodeHeader = IF(OR(isFILTERed('BI T-Code by Industry'[SAPTCode]), isFILTERed('BI CONNECT Usage'[SAPTCode])) ,VALUES('BI T-Code by Industry'[SAPTCode]), "TCode not selected")
and
TCodeHeader = IF(DISTINCTCOUNT('BI T-Code by Industry'[SAPTCode])=1 ,VALUES('BI T-Code by Industry'[SAPTCode]), "TCode not selected")
Maybe it's not possible yet?
Cathryn
Solved! Go to Solution.
I figured it out. I was creating a column vs a measure. A dynamic title won't work if you create a column with code I mentioned above. It needs to be a measure just in case anyone else has the same issue.
I figured it out. I was creating a column vs a measure. A dynamic title won't work if you create a column with code I mentioned above. It needs to be a measure just in case anyone else has the same issue.
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 |
---|---|
110 | |
94 | |
82 | |
66 | |
58 |
User | Count |
---|---|
151 | |
121 | |
104 | |
87 | |
67 |