Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. 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êsThis is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
78 | |
76 | |
53 | |
37 | |
31 |
User | Count |
---|---|
101 | |
56 | |
51 | |
45 | |
40 |