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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
maheshdeshmukh
New Member

and logic in slicer

i have table 

Statecity
maharashtrapune
maharashtramumbai
maharashtraaurangabad
gujaratpune
gujaratdelhi 
gujarathyderabad

 

in visual pane

i have slicer on city  if i am selecting two city or multilple city from slicer  in table visula i want state having all selected city 
for example if i am selecting pune,mumbai then i am getting both state but i need only maharashtra in which two city are present
how can i achive please help

1 REPLY 1
lbendlin
Super User
Super User

If a city exists in multiple states you need to disambiguate them via a composite key.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors