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
td1n1z
Regular Visitor

how to use a measure as a page level filter

Hi All,

Let me give a brief description of my setup.
I have a FACT table with [contract] and [id] columns.
I have several DIM tables with each an [id] column.
Created a BRIDGE, where I added all the DIM table [id] columns and created a relationship between FACT and DIMs(many) to BRIDGE(one).

My report has several pages, each displaying data from a specific DIM table.
On page 1 I have a slicer, filtering by fact[contract] and fact[id].
On page 2 I want to propagate the slicer selection on page 1, specifically the [id] to display data from corresponding DIM table.
My FACT table has all [id], and each DIM has only it's corresponding [id]s so on page 1 I have to filter by fact[id] and not bridge[id] otherwise not all the [id]s show up in my slicer.

On page 2 I cannot sync my slicer (I've added it to the same slicer group but to no avail).
The two workarounds I've found are:

1) add a table visual, added fact[contract] and bridge[id].
   when I click on the [id] all my card visuals display the correct info.

2) created two measures: first -> selectID = selectedvalue(fact[id])
                                         second -> 

card measure = CALCULATE(
    MAX('dim1'[abc]),
    FILTER('dim1',
    RELATED(bridge[id]) = [selectID]
    )
)

The issue with the first workaround is that I always have to click on [id] in the table visual I created for the filtering on the cards to take place.
Issue with second workaround is that I would have to create a measure for each card/column to apply the [selectID] measure, so let's say 1 card has dim1[abc], another card dim1[123] etc etc.

Is there a way I can apply the [selectID] measure to all visuals on page 2, basically using the measure as a page level filter?

Thanks in advance for any input.

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@td1n1z , Based on what I got so far.
If the measure is calculated in such a manner that if is filtering the data, then that measure needs to be the part of drill through visual to filter it

 

created an example here - Power BI Drill Through when Userelationship is used in a Measure- https://youtu.be/1BM_WGATrQA


But if you measure is creating a value that can used in slicer, that you need dynamic segmentation

Dynamic Segmentation, Bucketing or Binning: https://youtu.be/CuczXPj0N-k

Dynamic segmentation -Measure to Dimension conversion: https://youtu.be/gzY40NWJpWQ

Customer Retention with Dynamic Segmentation, New/Lost/Retain Customer Count: https://youtu.be/EyL7KMw877Q

Power BI ABC Analysis using Window function, Dynamic Segmentation: https://youtu.be/A8mQND2xSR4

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@td1n1z , Based on what I got so far.
If the measure is calculated in such a manner that if is filtering the data, then that measure needs to be the part of drill through visual to filter it

 

created an example here - Power BI Drill Through when Userelationship is used in a Measure- https://youtu.be/1BM_WGATrQA


But if you measure is creating a value that can used in slicer, that you need dynamic segmentation

Dynamic Segmentation, Bucketing or Binning: https://youtu.be/CuczXPj0N-k

Dynamic segmentation -Measure to Dimension conversion: https://youtu.be/gzY40NWJpWQ

Customer Retention with Dynamic Segmentation, New/Lost/Retain Customer Count: https://youtu.be/EyL7KMw877Q

Power BI ABC Analysis using Window function, Dynamic Segmentation: https://youtu.be/A8mQND2xSR4

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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.