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

       

6 Replies

  • 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

       

    • Gems's avatar
      Gems
      Advocate I

      Thank you so much iceparrot !! this is solving my problem. 🙂 Thanks for the explanation step by step, I apprecciate it so much!! 🙂

    • mjo31's avatar
      mjo31
      Frequent Visitor

      Hi iceparrot  I am unable to implement the option 1. How can you add the measure to a text in tooltip? It is not enabled

  • Hey Gems ,

    You may find a Style section and text option under it. This might be different based on the type of button you are using. In my example, using a Q&A button.

    Regards,

  • Gems's avatar
    Gems
    Advocate 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.