Forum Discussion
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
- TomMartensSuper User
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- Happytravel2025Regular Visitor
I will try now! Thank you
- v-sgandrathiCommunity 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-sgandrathiCommunity 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-sgandrathiCommunity 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!
- Bibiano_GeraldoSuper User
Hi Happytravel2025 ,
You have to use SELECTEDVALUE function, something like this:
SelectedCategoryText = SELECTEDVALUE('YourTable'[YourColumn])