Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I need some help in creating this calculation.
I've this data (Raw Data)
Raw data | Distinct value | ||||
Id | value | id | value | ||
100 | 10 | 100 | 10 | ||
100 | 10 | ||||
101 | 20 | 101 | 20 | ||
101 | 20 | ||||
101 | 20 | ||||
102 | 30 | 102 | 30 | ||
102 | 30 | ||||
102 | 30 | ||||
102 | 30 | ||||
AVG | 20 |
I need to calculated the average of the column "value", but only for distinct values in the column "id". How do I do this
Regards
Torben
Solved! Go to Solution.
@Anonymous , Try a measure like
Averagex(Summarize(Table,Table[ID], Table[Value]), [Value])
@Anonymous , Try a measure like
Averagex(Summarize(Table,Table[ID], Table[Value]), [Value])
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
115 | |
100 | |
88 | |
69 | |
61 |
User | Count |
---|---|
152 | |
120 | |
102 | |
87 | |
68 |