The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
How can I create a measure that calculates the monthly average of distinct count
CaseNumber | CreatedDate | Computer |
abcde | 1/2/2023 | Computer1 |
abcdf | 1/3/2023 | Computer1 |
abcdg | 1/4/2023 | Computer2 |
abcdh | 2/14/2023 | Computer2 |
abcdi | 2/17/2023 | Computer1 |
In this example, for month 1 I have three cases. For month 2 I have two cases. The monthly average is 2.5 cases.
How do I create a measure to calculate this?
Additionally, how do I create a measure to calculate the average per month, per computer?
Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension! |
DAX is simple, but NOT EASY! |
hi @mariajuliao
try like:
User | Count |
---|---|
25 | |
10 | |
8 | |
6 | |
5 |
User | Count |
---|---|
31 | |
10 | |
10 | |
10 | |
9 |