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
BrendenS
Frequent Visitor

One Slicer Selection Filters Another Slicer Selection

Hello Power BI Community,

 

I have two columns which have their own slicers on the dashboard:

AZURE_AUDIT_METRICS[Object]

AZURE_AUDIT_METRICS[Segment]

 

When a team member selects a certain Data Object I would like the Segment slicer to filter to a specific Segment automatically. One Object can have many Segments so we want to highlight (filter for) the most important Segment right away. This is best explained with an example....

 

The user selects Data Object slicer AZURE_AUDIT_METRICS[Object] = "PRA UNIT VENTURE". When this selection is made there are two Segment slicer AZURE_AUDIT_METRICS[Segment] selections available (see screenshot). We want the Segment slicer AZURE_AUDIT_METRICS[Segment] = "UNITVENTURE PUC" to be automatically selected by default when Data Object slicer AZURE_AUDIT_METRICS[Object] = "PRA UNIT VENTURE" is selected.

 

BrendenS_0-1724273237364.png

 

Thank you so much for your assistance!!

 

Brenden

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @BrendenS ,

Based on my testing, please try the following methods:

1.Create the sample table.

vjiewumsft_0-1724316028890.png

2.Create the new measure to display default value.

Measure = 
   VAR selectedObject = SELECTEDVALUE('AZURE_AUDIT_METRICS'[Object])
   VAR _segment = SELECTEDVALUE(AZURE_AUDIT_METRICS[Segment])
   RETURN
       IF (
           selectedObject = "PRA UNIT VENTURE" && _segment = "UNITVENTURE PUC",
           1,
           0
       )

3.Drag the object and segment into the slicer visual.

vjiewumsft_1-1724316039137.png

4.Drag the measure into the segment slicer Filters pane. Set the show items is 1.

vjiewumsft_2-1724316069961.png

5.The result is shown below.

vjiewumsft_3-1724316076448.png

 

Best Regards,

Wisdom 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

1 REPLY 1
Anonymous
Not applicable

Hi @BrendenS ,

Based on my testing, please try the following methods:

1.Create the sample table.

vjiewumsft_0-1724316028890.png

2.Create the new measure to display default value.

Measure = 
   VAR selectedObject = SELECTEDVALUE('AZURE_AUDIT_METRICS'[Object])
   VAR _segment = SELECTEDVALUE(AZURE_AUDIT_METRICS[Segment])
   RETURN
       IF (
           selectedObject = "PRA UNIT VENTURE" && _segment = "UNITVENTURE PUC",
           1,
           0
       )

3.Drag the object and segment into the slicer visual.

vjiewumsft_1-1724316039137.png

4.Drag the measure into the segment slicer Filters pane. Set the show items is 1.

vjiewumsft_2-1724316069961.png

5.The result is shown below.

vjiewumsft_3-1724316076448.png

 

Best Regards,

Wisdom Wu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.