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!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Good Evening
I have a table relating to sales and I would like to find the voulme of unqiue sales orders.
My current DAX
Can someone please help.
Solved! Go to Solution.
@ianboothman Can you elaborate on why you feel the number you are getting is incorrect? That should give you a distinct count of Sales Ord. You could try replacing that with this code:
Measure = COUNTROWS( DISTINCT( SELECTCOLUMNS( 'Table', "__SalesOrd", [Sales Ord] ) ) )
But, again, both DISTINCTCOUNT and that measure should return the same number.
Hi @ianboothman ,
If i undertood well, you want to count only unique Sales ord (that appears only one time, with no duplicates), this can be reached by this DAX:
Unique Sales Orders =
COUNTROWS(
FILTER(
SUMMARIZE(
'Statles2',
'Statles2'[Sales Ord],
"Count", COUNTROWS('Statles2')
),
[Count] = 1
)
)
Your result will look like this, because there's only one sales order that appears once:
@ianboothman Can you elaborate on why you feel the number you are getting is incorrect? That should give you a distinct count of Sales Ord. You could try replacing that with this code:
Measure = COUNTROWS( DISTINCT( SELECTCOLUMNS( 'Table', "__SalesOrd", [Sales Ord] ) ) )
But, again, both DISTINCTCOUNT and that measure should return the same number.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 61 | |
| 54 | |
| 41 | |
| 17 | |
| 13 |
| User | Count |
|---|---|
| 106 | |
| 99 | |
| 38 | |
| 29 | |
| 28 |