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
Anonymous
Not applicable

Filter based on selected user's region

Hello Everyone,

 

I have a slicer in which I can select a specific sales person and there's a table with general information of their assigned accounts. My goal is that when i select one sales person, it'll list me all assigned accounts from the sales person's region. This is because a region may have assigned sales people the are no longer active. 

 

The below video almost got the job done but the issue is that one user can have multiple regions. Is there a way to auto select all once the chicklet slicer gets updated? Is there a different way to tackle this issue?

 

https://www.youtube.com/watch?v=-kOvK7IV3sg&t=3s 

1 ACCEPTED SOLUTION
v-yalanwu-msft
Community Support
Community Support

Hi, @Anonymous ;

You could add another table about user's name as a slicer.

slicer = VALUES('Table'[Name])

Then create a flag masure.

flag = IF(MAX('Table'[Location]) in  SUMMARIZE(FILTER(ALL('Table'),[Name] in ALLSELECTED(slicer[Name])),'Table'[Location]),1,0)

Apply it into filter.

vyalanwumsft_0-1654224122635.png

The final show:

vyalanwumsft_1-1654224194903.png

vyalanwumsft_2-1654224252033.png


Best Regards,
Community Support Team _ Yalan Wu
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

3 REPLIES 3
v-yalanwu-msft
Community Support
Community Support

Hi, @Anonymous ;

You could add another table about user's name as a slicer.

slicer = VALUES('Table'[Name])

Then create a flag masure.

flag = IF(MAX('Table'[Location]) in  SUMMARIZE(FILTER(ALL('Table'),[Name] in ALLSELECTED(slicer[Name])),'Table'[Location]),1,0)

Apply it into filter.

vyalanwumsft_0-1654224122635.png

The final show:

vyalanwumsft_1-1654224194903.png

vyalanwumsft_2-1654224252033.png


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

Anonymous
Not applicable

This works. Thanks!

ghoshabhijeet
Solution Supplier
Solution Supplier

@Anonymous  Would you be able to share a sample PBIX file? Thanks !

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors