The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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] )
)
User | Count |
---|---|
17 | |
8 | |
7 | |
6 | |
6 |
User | Count |
---|---|
26 | |
13 | |
12 | |
9 | |
8 |