cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
unais
Helper V
Helper V

Subtract Values from Filtered two measure value

Team,

Refer to the below table need to calculate the value of the total Movement out = Delivery - Return using measure by item

 

We need to create a chart based on TOP delivered product 

created Two measure  

Delivery QTY by Movment = CALCULATE(SUM(MSEGSUMMARY[QTY]),FILTER(MSEGSUMMARY,MSEGSUMMARY[MOVEMNT]="Delivery"))

Retun  QTY by Movement = CALCULATE(SUM(MSEGSUMMARY[QTY]),FILTER(MSEGSUMMARY,MSEGSUMMARY[MOVEMNT]="Retun"))

 

Delivery QTY: difference of both measure values coming to Zero Please advise

MaterialDateMovementQTY
A01.01.2021Delivery5
A02.01.2021Delivery6
B01.01.2021Delivery6
A03.01.2021Return2

 

 

4 REPLIES 4
unais
Helper V
Helper V

team,

any one to support

unais
Helper V
Helper V

team , any support

unais
Helper V
Helper V

hi @amitchandak  Delivery QTY by Movement - Retun QTY by Movement becoming zero always..

amitchandak
Super User
Super User

@unais , Because Movement is used in visuals.

 

OR Try like

 

Delivery QTY by Movment = CALCULATE(SUM(MSEGSUMMARY[QTY]),MSEGSUMMARY[MOVEMNT]="Delivery")

Retun QTY by Movement = CALCULATE(SUM(MSEGSUMMARY[QTY]),MSEGSUMMARY[MOVEMNT]="Retun")

 

Helpful resources

Announcements
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Top Solution Authors