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

Get Fabric certified for FREE! Don't miss your chance! Learn more

Reply
tjeffries
Helper I
Helper I

Filters

Hi Everyone,

 

I know this is probably really simple but I've been struggling with it for the last two hours - I need to filter out the blue orders out of the first table then filter out the red shipments from the second.   then subtract the red orders from the blue shipments.  I've tried to filter the values but it never works.  any assistance would be appreciated

 

Orders  Shipment
Red10 Blue50
Blue20 Red40
Red30 Blue30
Blue40 Red20
Red50 Blue10
Blue10 Red50
Red20 Blue40
Blue30 Red30
Red40 Blue20
Blue50 Red10
1 ACCEPTED SOLUTION
az38
Community Champion
Community Champion

Hi @tjeffries 

try a measure

Measure =
CALCULATE(SUM('Shipment'[Value]), 'Shipment'[Colour] = "Blue") - 
CALCULATE(SUM('Orders'[Value]), 'Orders'[Colour] = "Red")

do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

View solution in original post

1 REPLY 1
az38
Community Champion
Community Champion

Hi @tjeffries 

try a measure

Measure =
CALCULATE(SUM('Shipment'[Value]), 'Shipment'[Colour] = "Blue") - 
CALCULATE(SUM('Orders'[Value]), 'Orders'[Colour] = "Red")

do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.