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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Anonymous
Not applicable

Filter Card visual based on a column from different table

Hi Community,

I'm trying to filter a card visual where I have a measure that calculates aggregation of Qty of items. Some items might have negative quantities. I need the card to just show the sum of values where Qty is positive by item. 

 

 

Table Visual: 
ItemQty (Measure)
10030
101-45
10225
  
Required Card:
Qty = 55

 

Thank you in advance!!

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous , Try a measure like

Sumx(filter(Table, Table[Qty] >0 ), Table[Qty])

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

That worked. Thank you @amitchandak !!

amitchandak
Super User
Super User

@Anonymous , Try a measure like

Sumx(filter(Table, Table[Qty] >0 ), Table[Qty])

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.