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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
Anonymous
Not applicable

Exclusion of a region in a category

Hey!

 

I have a visual that shows me the flow of people from "From Region" to "To Region". Now if i select a particular region from slicer in "From Region", say A, I would like to see the flow from A to all other regions except A.

 

Is there a way this can be done?

1 ACCEPTED SOLUTION
v-yuezhe-msft
Employee
Employee

@Anonymous,

You can create a measure in your table using DAX below. Then drag the measure to visual level filter of your visual and set its value to 1.

Measure = IF(MAX(Table[From Region])=SELECTEDVALUE(Table[From Region])&&MAX(Table[To Region])<>SELECTEDVALUE(Table[From Region]),1,0)

2.PNG1.PNG

Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-yuezhe-msft
Employee
Employee

@Anonymous,

You can create a measure in your table using DAX below. Then drag the measure to visual level filter of your visual and set its value to 1.

Measure = IF(MAX(Table[From Region])=SELECTEDVALUE(Table[From Region])&&MAX(Table[To Region])<>SELECTEDVALUE(Table[From Region]),1,0)

2.PNG1.PNG

Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

@v-yuezhe-msft Thank you!

 

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.