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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
aashoe
Regular Visitor

Incorrectly showing the same sales number after filtering

Hi,

I’m working in Power BI with a data model that has four main tables: Sales, Inventory, Returned Items, and a Day table. The relationships are set up as follows:

  • Sales, Returned Items, and Inventory tables are linked by a shared "style" column.
  • Day table links to Sales and Returned Items by the "day" column.

The style names aren’t unique, so I used many-to-many cardinality for these connections.

Screenshot 2024-11-13 000225.png

The issue I’m running into is with filtering in visuals: when I apply a style filter to view sales by color, the percentage for each color shows as 100% instead of reflecting the actual distribution. However, this doesn’t happen with other filters, which show percentages correctly. Any tips on resolving this filtering issue? Thank you!

Screenshot 2024-11-13 000345.png

 

5 REPLIES 5
johnt75
Super User
Super User

Delete the relationships based on style. Create a new table which contains all possible styles like

All Styles =
DISTINCT (
    UNION (
        DISTINCT ( 'returned_items'[Style] ),
        DISTINCT ( 'Sales'[Style] ),
        DISTINCT ( 'Inventory'[Style] )
    )
)

Link this table to sales, inventory and returned items in one-to-many single direction relationships, and use the style column from the new table in visuals, slicers etc.

It's not working 😞

 Did I set anything wrong in the relationship? 

Capture.JPG

No, the only potential issue I can see is that the relationship between date and returned items is inactive. Everything else should work OK. 

What behaviour are you seeing ?

The same issue: every colour is showing 100% when I apply the style filter. 

What is the definition of the measure that you are using ?

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors