Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hi , i want to show some values in card format based on measure selection , i have tried below ones but didn't get correct output.
My values are populated using measures in UI.
and I want to detect selected measure name and show some values respective of it. As shown below. However it always show default value 4.
You need to create a calculation group using Tabular Editor and add a calculation item which uses the SWITCH statement from your code. Apply the calculation group as a filter on the card visual.
Hi @johnt75 thanks for reply, can you share some resource how you are asking to do as i'm bit new