Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi,
Im having a logic doubt problem that I hope you can help with.
I have a column with Orders, Distinct Customer, Orders per Distict Customer.
orders = SUMX(Orders,Orders[Count])
distict Customer = DISTINCTCOUNT(Orders[Customer_code])
orders per distinct cust = [orders]/[distict Customer]
All the numbers in that table are correct. However, the 2022 number is not intuitive. It should be around 56.
How would you enforce that?
Hi @fosterXO
You may try something like:
distict Customer =
AVERAGEX (
SUMMARIZE ( 'Table', [Year], [Month] ),
CALCULATE ( DISTINCTCOUNT ( Orders[Customer_code] ) )
)
hi @fosterXO
it is not intuitive , because distinctcount is semi-additive, or because one Customer_code could present at multiple months, but it is counted once only in Year 2022. Make sense?
Yes, the question would be how to show something that is more intuitive for users. Maybe an average?
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
22 | |
10 | |
10 | |
9 | |
7 |