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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
mterry
Helper V
Helper V

DAX Measure using 2 tables not updating from page level filters

I have two data tables that are linked by a name field. My 'fact' table has high level information by name, the dim table has detailed address data for suppliers, in many instances multiple addresses per supplier. I have created a DAX measure that counts the rows of the dim table and was hoping that when I applied page level filters to my visuals the DAX result would update based on those filters, but it isn't, I'm assuming because one of the filters I'm applying to the page is applicable to the table not referenced in the DAX measure (which makes sense, but I want to correct for). I can't share the data itself, but here's the pertinent info.

  

dim table = 'Supplier Summary' and it has a summary of total costs, 'Supplier Summary[Total Cost]'

fact table = 'Supplier Addresses'

 

the measure i created is just: COUNTROWS['Supplier Addresses'], and it works fine by itself, but if I apply a page level filter where 'Supplier Summary[Total Cost]' > 5000 then the count of rows/addresses in the 'Supplier Addresses' table doesn't update correctly to match the total number of rows showing in a table visual on that page. I'm wondering how I can update the DAX to dynamically incorporate the page level filter (i.e. not set a second filter that just uses the 5000 threshold in my example, but would dynamically update if I changed the filter for that page to 15,000 or 20,000). Is that possible? Thanks in advance. 

0 REPLIES 0

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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