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!
I want to change the title of my report based a particular filter I have .
Basically if the filter is on "A", I should show "Text 1" and if I seelect "B" it should show " Text 2". The text 1 and 2 are just random text that I want to put.
Help will be greatly appreciated.
Solved! Go to Solution.
You need to write a measure that returns the text you want. You could use something like this
title = switch(selectedvalue(table[column]),"A","text 1","B","text 2")
then go to the chart title setting, click on the 3 dots (hidden unless you hover), and set the conditional format based on the measure
There are lots of options.
title 2 = switch(selectedvalue(table[column]),"A","text 1","B","text 2","you must select only one value")
or set the slicer to single selection only.
Hi @Anonymous
If you referring to Page Name, the simple answer is it can not be done.
But you can add it as an Idea if it hasn't been added yet.
https://ideas.powerbi.com/forums/265200-power-bi-ideas
You need to write a measure that returns the text you want. You could use something like this
title = switch(selectedvalue(table[column]),"A","text 1","B","text 2")
then go to the chart title setting, click on the 3 dots (hidden unless you hover), and set the conditional format based on the measure
How to handle when there is none selected or all selected?
There are lots of options.
title 2 = switch(selectedvalue(table[column]),"A","text 1","B","text 2","you must select only one value")
or set the slicer to single selection only.
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 | |
100 | |
78 | |
75 | |
51 |
User | Count |
---|---|
144 | |
109 | |
108 | |
88 | |
61 |