The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
I have the following dataset. My average is acurate when I filter data by Term but when I remove the filter, the average is inaccurate since there are duplicate Ids. How to get accurate average in this situation?
Solved! Go to Solution.
Average =
AVERAGEX ( VALUES ( 'Table'[ID] ), CALCULATE ( AVERAGE ( 'Table'[Term] ) ) )
Average =
AVERAGEX ( VALUES ( 'Table'[ID] ), CALCULATE ( AVERAGE ( 'Table'[Term] ) ) )
User | Count |
---|---|
15 | |
13 | |
9 | |
6 | |
6 |
User | Count |
---|---|
29 | |
19 | |
13 | |
8 | |
5 |