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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Anonymous
Not applicable

Filter not working as expected on bridged tables

In the table visual below I have 5 rows returned, which I believe to be correct. (See filters applied to table).  I am expecting my measure 'CR Count' to also return a row count of 5 ; however, it appears to ignore the 'dw HSECaseCategoryDim'[Col Value] filter and returns 43.

 

What am I missing 😞

 

CR COUNT.jpg

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Turns out that it was my relationships that were wrong.  This worked in the end.

sduffy_0-1617195222035.png

 

View solution in original post

3 REPLIES 3
AlexisOlson
Super User
Super User

From your relationship diagram, you can see that the table 'dw HSECaseCategoryDim' does not filter 'dw HSECaseDim' nor does the reverse hold. They both filter the bridge table but not each other. In particular, the filter on 'Col Value' has no effect on the measure since it counts the rows of the fact table (which aren't filtered by 'Col Value').

 

The best option would probably be to flatten those dimension tables into a single one so that you have more of a star schema rather than a snowflake schema.

Anonymous
Not applicable

Very interesting.  Why does the filtering appear to apply in the table visual in my report?

 

When I add the 'dw HSECaseOccurenceFact'[HSEDimKey] , (880 rows)

When I add and filter 'dw HSECaseDim'[Corporate Reportable Flag] = True , (43 rows)

When I add and filter 'dw HSECaseCatgeoryDim'[Col Value] = "Loss of primary containment (HCRs)", (5 rows)

 

And can I harness this in a measure?

 

Thanks again.

Anonymous
Not applicable

Turns out that it was my relationships that were wrong.  This worked in the end.

sduffy_0-1617195222035.png

 

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! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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