The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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?
Solved! Go to Solution.
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
Hi @Happytravel2025 ,
You have to use SELECTEDVALUE function, something like this:
SelectedCategoryText = SELECTEDVALUE('YourTable'[YourColumn])
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!
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.
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!
I am sorry. I used other method so I haven't tried it yet. I will try once I need it. Thank you.
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.
Hi @Happytravel2025,
Just checking in. Have you had a chance to try the workaround we discussed earlier?
Please let us know if you need any help or have any questions.
Looking forward to your update!
Best regards,
Sahasra.
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
I will try now! Thank you