Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
I'd like to add a column that takes the average of the values, given the values in another column.
So in the example I have here, it would return the average value for every DRR (x) every CMV (y) and every HGM (z)
Thanks for your help!
Solved! Go to Solution.
Hi @Anonymous,
You should add the following measure / calculated column to your model.
average = CALCULATE ( AVERAGE ( Table1[Value] ); ALLEXCEPT ( Table1; Table1[COMM] ) )
The result is below as you can see as a measure or as a column it works the same way. Best practice advise to add as a measure and not a column.
Adding the column to a table visual it will sum up the values as if you make a measure it makes the average of the values.
Regards,
MFelix
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi @Anonymous,
You should add the following measure / calculated column to your model.
average = CALCULATE ( AVERAGE ( Table1[Value] ); ALLEXCEPT ( Table1; Table1[COMM] ) )
The result is below as you can see as a measure or as a column it works the same way. Best practice advise to add as a measure and not a column.
Adding the column to a table visual it will sum up the values as if you make a measure it makes the average of the values.
Regards,
MFelix
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsMarch 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
115 | |
74 | |
57 | |
47 | |
39 |
User | Count |
---|---|
167 | |
118 | |
61 | |
58 | |
50 |