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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
I need to count all customers that have made only one order (invoice ID) in a given period (slicer) in Power BI.
I'm looking for a Dax formula.
Thanks in advance,
Below is some example data.
Solved! Go to Solution.
HI @Anonymous
Try this MEASURE
Measure =
COUNTX (
FILTER (
VALUES ( Table1[Customer ID] ),
CALCULATE ( DISTINCTCOUNT ( Table1[Invoice ID] ) = 1 )
),
1
)
HI @Anonymous
Try this MEASURE
Measure =
COUNTX (
FILTER (
VALUES ( Table1[Customer ID] ),
CALCULATE ( DISTINCTCOUNT ( Table1[Invoice ID] ) = 1 )
),
1
)
Thank you!!!
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 57 | |
| 55 | |
| 42 | |
| 16 | |
| 16 |
| User | Count |
|---|---|
| 113 | |
| 105 | |
| 39 | |
| 35 | |
| 26 |