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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
LH01
Regular Visitor

Multiple Slicer Drop Downs - Same Field/One Chart

Hi,

 

Wondering if there is any way to use multiple drop down slicers with the same field to control what information is displayed on a chart.

 

For example, I have the following data set:

 

State            Date         Amount

California     1/1/17       2,312

California     1/2/17       2,413

California     1/3/17       2,453

New York     1/1/17       3,154

New York     1/2/17       3,756

Texas            1/1/17       4,576

Texas            1/2/17       5,345

 

I want to be able to select California in one drop down box and this will be plotted on the line chart, then select New York in another drop down box and this would also be plotted on the line chart for comparison purposes. Simple in Excel, not sure about Power BI.

 

Any help would be much appreciated, thanks.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @LH01,

 

Current power bi only support analysis date value as date hierarchy.

 

For your scenario, you can follow below steps to manually create a custom hierarchy column.

Source table:

7.PNG

 

1. Add calculated column to analysis the hierarchy level.

Hierarchy = PATH([ID],[Parent])

8.PNG

 

 

2. Add calculated column to store the different level columns.

Level 1 = PATHITEM([Hierarchy],1) 
Level 2 = PATHITEM([Hierarchy],2) 
Level 3 = PATHITEM([Hierarchy],3) 

9.PNG

 

 

3. Use these level columns to create hierarchy column.

10.PNG

 

4. Use this hierarchy column as the source of hierarchy slicer.

 

Regards,

Xiaoxin Sheng

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @LH01,

 

Current power bi only support analysis date value as date hierarchy.

 

For your scenario, you can follow below steps to manually create a custom hierarchy column.

Source table:

7.PNG

 

1. Add calculated column to analysis the hierarchy level.

Hierarchy = PATH([ID],[Parent])

8.PNG

 

 

2. Add calculated column to store the different level columns.

Level 1 = PATHITEM([Hierarchy],1) 
Level 2 = PATHITEM([Hierarchy],2) 
Level 3 = PATHITEM([Hierarchy],3) 

9.PNG

 

 

3. Use these level columns to create hierarchy column.

10.PNG

 

4. Use this hierarchy column as the source of hierarchy slicer.

 

Regards,

Xiaoxin Sheng

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