Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Now I want to create another measure (Total Orders Completed) to count order ids with status as complete or close
Thanks
Solved! Go to Solution.
Hi,
I am not sure how your datamodel looks like, but please try something like below.
order status complete or close =
CALCULATE (
DISTINCTCOUNT ( order[ORDERID] ),
FILTER (
ALL ( order[Order Status] ),
order[Order Status] IN { "Close", "Complete" }
),
ALL ( order[type] )
)
Hi,
I am not sure how your datamodel looks like, but please try something like below.
order status complete or close =
CALCULATE (
DISTINCTCOUNT ( order[ORDERID] ),
FILTER (
ALL ( order[Order Status] ),
order[Order Status] IN { "Close", "Complete" }
),
ALL ( order[type] )
)
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 8 | |
| 6 | |
| 5 | |
| 4 |
| User | Count |
|---|---|
| 25 | |
| 10 | |
| 10 | |
| 8 | |
| 8 |