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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
AudeVazart
Frequent Visitor

Count number f order without to count cancelled order

Hello,

 

I am new in power bi and I really need your help.

I have one column with Order ID and one column with order value.

I need to count the number of order based on Order ID but without to take into consideration the cancelled order.

An order cancelled wil have the same Order ID but the value will be negative.

 

Example:

Order ID: 123 / Order Value: 100$

Order ID: 123 / Order Value: -100$ (order cancelled)

In this example, my order count will 0.

 

I try to find a measure to reflect the logic above but without any sucess.

 

thanks.

0 REPLIES 0

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors