Forum Discussion

vjnvinod's avatar
vjnvinod
Impactful Individual
7 years ago
Solved

Dynamic Button text changes

Dear community,

 

Hi Team,

i have a button linked to my dashboard as below

 

as you see the Text added is "Click here for outbound/Inbound Details"

now my question is, is there a way, when my user clicks on it, the text changes to "You are currently viewing inbound/outbound details"

 

Let me know if this is possible to do it in the buttons.

  • Anonymous's avatar
    Anonymous
    7 years ago

    If I undestand you, It is so easy, you need to activate this two panels clicking in the combo box over the screen:

    And now you had to hide one button in the Selection Panel and click on Add On the Markers Panel, and now you have one button that hides the other and keeps imself visible, so you do the same to the other button. This property is called Action in the button configuration.

     

     

     

    So you have it two buttons with different texts, which you can click + ctrl to hide one and see the other, creating the text changing that you want.

     

     

6 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    If I undestand you, It is so easy, you need to activate this two panels clicking in the combo box over the screen:

    And now you had to hide one button in the Selection Panel and click on Add On the Markers Panel, and now you have one button that hides the other and keeps imself visible, so you do the same to the other button. This property is called Action in the button configuration.

     

     

     

    So you have it two buttons with different texts, which you can click + ctrl to hide one and see the other, creating the text changing that you want.

     

     

    • vjnvinod's avatar
      vjnvinod
      Impactful Individual

      Anonymous 

       

      Perfect, thanks & make perfect sense

    • vjnvinod's avatar
      vjnvinod
      Impactful Individual

      v-juanli-msft 

       

      Tool tip is not what i am looking at, which i am aware(its visible only while hovering)

      i am looking at changing my entire text in the button from "Click here to Inbound/Outbound detail" to "You are currently viewing Inbound/Outbound details"

       

      Let me know if this possible in Power BI?

  • PattemManohar's avatar
    PattemManohar
    Community Champion

    vjnvinod  Try duplicating the same page/report with different text (In this case, Inbound Details and other page has Outbound Details) then create two bookmarks (one for each). Call these bookmarks from Action option from the button. Make sure you hide the duplicated pages (so that users can't those)

    • Anonymous's avatar
      Anonymous
      Not applicable

      Men, you just say the dirt/bad way of doing the same that I tell, but you need two pages with the same Information that for a client is horrible, and I only have two buttons, which you will only see one at a time because one block the other and in reverse.