Forum Discussion

Gems's avatar
Gems
Advocate I
3 years ago
Solved

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 t...
  • iceparrot's avatar
    3 years ago

    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 ActionAs 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