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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

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")

 

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

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