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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
AudeVazart
Frequent Visitor

Calculate the number of machine order in a column but exclude when machine order has been cancelled

Hello,

 

I am struggleling with a DAX formula for one of my measure.

I need to count the number of machine order that I have in a column "Machine Order  ID".

But I need to exclude from my calculation the machine orders which have been cancelled.

If a machine order is cancelled, the value in the row will negative. So in this case:

the rows for the machine order (100 $) and the cancellation (-100$) will cancelled each othe (=0).

 

Thanks a lot for your help.

Aude

0 REPLIES 0

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.