Forum Discussion

Happytravel2025's avatar
Happytravel2025
Regular Visitor
1 year ago
Solved

Dynamic text box and Card?

Hello,

 

I am wondering if there is any way I can change the text box  and card as the pic based on the change of the

slicer?

 

 

  • Hey Happytravel2025 ,

     

    you can create measures that return a value based on the selection inside a slicer, then you can add the measure to the textbox's title.

    Inside the measure, use SELECTEDVALUE( ...) to store the slicer selection inside the variable.

    Then, if necessary, use SWITCH( ... ) to return the value you want to visualize.

    Hopefully, this helps to tackle your challenge.

    Regards,
    Tom

9 Replies

  • Hey Happytravel2025 ,

     

    you can create measures that return a value based on the selection inside a slicer, then you can add the measure to the textbox's title.

    Inside the measure, use SELECTEDVALUE( ...) to store the slicer selection inside the variable.

    Then, if necessary, use SWITCH( ... ) to return the value you want to visualize.

    Hopefully, this helps to tackle your challenge.

    Regards,
    Tom

  • v-sgandrathi's avatar
    v-sgandrathi
    Community Support

    Hi Happytravel2025,

     

    Has your issue been resolved?If the response provided by the community member addressed your query, could you please confirm? It helps us ensure that the solutions provided are effective and beneficial for everyone.

    If yes, kindly accept the useful reply as a solution and give us Kudos. It would be appreciated.

     

    Thank you for your understanding!

    • v-sgandrathi's avatar
      v-sgandrathi
      Community Support

      Hi Happytravel2025,

       

      May I ask if you have gotten this issue resolved?

      If it is solved, please mark the helpful reply or share your solution and accept it as solution, it will be helpful for other members of the community who have similar problems as yours to solve it faster.

       

      Thank you.

      • v-sgandrathi's avatar
        v-sgandrathi
        Community Support

        Hi Happytravel2025,


        we haven't heard back from you regarding our last response and wanted to check if your issue has been resolved.

        If our response addressed by the community member for  your query, please mark it as Accept Answer and give us Kudos. Should you have any further questions, feel free to reach out.
        Thank you for being a part of the Microsoft Fabric Community Forum!