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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
CyrillS
Regular Visitor

Field Parameters, Dynamic IsInScope

Hello everyone
I made a simple model to make my question clearer. I have two dimensions, Product & Customer and a fact table Sales.

CyrillS_0-1695705491861.png

I made a SalesParameter table, which is a field parameter with the two dimension ID's ProductID and CustomerID, renamed as Product and Customer.
I want to use this parameter as rows in a matrix and next to the current level i want the description of the current dimension. For this i created the measure description.
The picture below shows the default case which works fine. 

CyrillS_1-1695705810677.png

But when the user wants to see the customer first, by clicking the Customer in the field parameter and then the Product, then it doesn't work.

CyrillS_2-1695706081139.png

Is there a way to achieve it that the description it doesn't matter in which order I select the field parameter? 

Any help is greatly appreciated.
Thanks 
Cyrill

1 ACCEPTED SOLUTION
Anonymous
Not applicable

HI @CyrillS,

The switch true structures can store multiple conditions and correspond calculations.

AFAIK, it not suitable to use if they are multiple conditions can be match with these conditions and it only triggered the first matched condition.(from top to bottom)

If you want to show multiple conditions, I'd like to suggest use if statement to check these scenarios and stored these results to the variables and concatenate them to get merged results.

Regards,

Xiaoxin Sheng

View solution in original post

2 REPLIES 2
olinayras
New Member

Hello, @Anonymous 

I'm trying to solve the same problem, but I haven't succeeded yet. I tried to do as you said, but from what I saw ISINSCOPE is cumulative. Any tips on how to do it?

Anonymous
Not applicable

HI @CyrillS,

The switch true structures can store multiple conditions and correspond calculations.

AFAIK, it not suitable to use if they are multiple conditions can be match with these conditions and it only triggered the first matched condition.(from top to bottom)

If you want to show multiple conditions, I'd like to suggest use if statement to check these scenarios and stored these results to the variables and concatenate them to get merged results.

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.