Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during AI Skills Fest. This week only. Secure your voucher now.

Reply
Kinsley
Frequent Visitor

Matrix: How to display more than one mesures when a condition is met using Switch

I want to dynamically show measure based on condition.

I created a table "Measure Selection" with one column containing names of measures.

Kinsley_0-1679923573574.png

 

When I select "Demand Change", the matrix will show only the measure named "Demand Change". But when I choose signal level, I want the matrix to show two measures: "Signal Level" and "Gap".  I dont know how to get around with this. The measure selection I created works only for one measure per condition. When I filter on "Signal Level", only the measure "Signal Level" is shown, the "Gap" is not shown.

 

Display measure =
    SWITCH(
            SELECTEDVALUE('Measure Selection'[Signal Type]),
            "Signal Level", [Signal Level],
            "Signal Level", [Gap],            
            "Demand Change", [Demand Change]
            )

 

 

1 REPLY 1
amitchandak
Super User
Super User

@Kinsley , Check if field parameters can help

Power BI Field Parameters — A Quick way for Dynamic Visuals: https://amitchandak.medium.com/power-bi-field-parameters-a-quick-way-for-dynamic-visuals-fc4095ae9af...
Power BI Field Parameters- Measure Slicer and Axis/Dimension slicer: https://youtu.be/lqF3Wa1FllE
Switch TOPN with Field Parameters: https://amitchandak.medium.com/switch-topn-with-field-parameters-299a0ae3725f

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.