Forum Discussion
Anonymous
3 years agoNot applicable
Recreating FIXED calculation from Tableau
Hello, I'm trying to recreate a calculation from Tableau that was giving the average Orders per User: { FIXED [UserID] : COUNTD([Order])} I looked for possible syntax for Power BI, but have ...
Anonymous
3 years agoNot applicable
It is spread on multiple orders (2-7, many sometimes), so the total count of orders is not important, but how many orders average a user has is what I seek. Thanks
johnt75
Super User
3 years agoTry
Avg orders per customer =
AVERAGEX ( VALUES ( 'Users'[User ID] ), CALCULATE ( COUNTROWS ( 'Orders' ) ) )
- Anonymous3 years agoNot applicable
this solution doesn't make distinct count 😕