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
Yucel
New Member

Filter 2 column in a single table

Dear All,

 

I have an issue with filtering 2 columns in a single table.

I have a geography table where I have cityId and District as shown below.

cityId district

10         X

10         Y

11        W

12        Z 

10        D

and I want to have an output like this

District

X

Y

D

if anyone can help me to solve this issue.

Thanks in advance for your assistance,

 

Yucel Emir

1 REPLY 1
Ashish_Mathur
Super User
Super User

Hi,

Create a slicer for CityID and select 10 in that.  In your Table visual, drag District.

Hope this helps.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

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.