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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

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
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.