Forum Discussion
Information button
Hello!
I have a very simple question but I can't reach the solution.
I want to create an information button, so when you click on it shows a text. The thing is I don’t find where I must put the text. Creating the button is simple but I don’t find where to write down the text.
Thank you so much in advance 🙂
Hey do you want to present as a new page or would a tooltip also be sufficient. Because then pressing the button would not be necessary. A simple hover over the icon would display the info-text.
There's two ways how to solve this:
Option 1: This shows the text as a tooltip once someone hovers the info-icon.To set up such a tooltip you can create a new measure. For example:
tooltip_measure = "*Recursos humans per a l’R+D+i: Correspon al finançament a recursos humans en R+D+i: ajuts predoctorals, postdoctorals, ajuts del PERIS per a recursos humans en R+D+i."Insert the info-button and activate Action. As Type you can use Web URL and leave the URL blank.
On to bottom activate Tooltip and select your newly created measure or type the text you want to display directly in the tooltip text field and click ENTER to end the input.Option 2: This option allows you to add styling to your text and how the tooltip should look like.
However, it's a bit more complicated.- Create a new report page and adjust the Canvas settings on your requirements
- Insert a textbox and enter your text
- Set the new report page on hide so you make sure just the tooltip is visible if you publish the report later
- Create a measure where you display the letter 'i'
- Insert a KPI Card and select the newly created measure
- Format your visual accordingly activate the tooltip section and add the page you created
- Create a new report page and adjust the Canvas settings on your requirements
6 Replies
- iceparrotAdvocate II
Hey do you want to present as a new page or would a tooltip also be sufficient. Because then pressing the button would not be necessary. A simple hover over the icon would display the info-text.
There's two ways how to solve this:
Option 1: This shows the text as a tooltip once someone hovers the info-icon.To set up such a tooltip you can create a new measure. For example:
tooltip_measure = "*Recursos humans per a l’R+D+i: Correspon al finançament a recursos humans en R+D+i: ajuts predoctorals, postdoctorals, ajuts del PERIS per a recursos humans en R+D+i."Insert the info-button and activate Action. As Type you can use Web URL and leave the URL blank.
On to bottom activate Tooltip and select your newly created measure or type the text you want to display directly in the tooltip text field and click ENTER to end the input.Option 2: This option allows you to add styling to your text and how the tooltip should look like.
However, it's a bit more complicated.- Create a new report page and adjust the Canvas settings on your requirements
- Insert a textbox and enter your text
- Set the new report page on hide so you make sure just the tooltip is visible if you publish the report later
- Create a measure where you display the letter 'i'
- Insert a KPI Card and select the newly created measure
- Format your visual accordingly activate the tooltip section and add the page you created
- Create a new report page and adjust the Canvas settings on your requirements
- GemsAdvocate I
This is my information button, and when you press it, I need a text to be displayed.
I need this text to be shown whenyou press the information button:
*Recursos humans per a l’R+D+i: Correspon al finançament a recursos humans en R+D+i: ajuts predoctorals, postdoctorals, ajuts del PERIS per a recursos humans en R+D+i.
- ThejeswarSuper User
Hi Gems ,
You can use the same thing said above except that on State, you will have to select "On Press"
This will display the text only when the button is pressed. When not pressed, the text won't be displayed.
Alternatively, You can also use display/ hide the visual on press of a button by using Bookmarks. More details on bookmarks below
Create report bookmarks in Power BI to share insights and build stories - Power BI | Microsoft Learn
Regards,