Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi Expert,
Please help me to resolve this. I have requirement as given below:
what would be the DAX calculation to get the result as shown for 'Order Received'. Orders Received depends on distinct Sales Orders.
Thanks.
Hi Divya904,
Create a calculate column using DAX below:
Result = IF(CALCULATE(COUNT(Table1[Sales Order]), ALLEXCEPT(Table1, Table1[Sales Order])) = 1, Table1[Sales Document], BLANK())
Regards,
Jimmy Tao
Hi
Create a measure with this formula:
Order Received = DISTINCTCOUNT(Sales[SalesOrder])
Thanks
Raj
Hi Rajendran,
Thanks for your reply. It is bit tricky here.
I have fields - Number of Sales documents , Sales Order.
I need to create following logic in DAX.
Result = Number of sales documents where Sales Order is disctinct.
Your help is appreciated here. Thanks
Can you post some sample data for your scenrio?
Thanks
Raj
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 40 | |
| 38 | |
| 36 | |
| 29 | |
| 28 |
| User | Count |
|---|---|
| 127 | |
| 88 | |
| 78 | |
| 66 | |
| 64 |