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.
Hi,
I have a data grid table in PowerBI reporting on 5 columns, the 5th column being % values.
However, I do not want the % to be SUM but instead average.
How do I get this done - i.e. columns 1-4 SUM and col 5 is Average?
Thanks!
Solved! Go to Solution.
Hi @SachinC ,
I think you are talking about this total value.
Try to do like this.
Measure =
IF(
HASONEFILTER(Sales[Brand]),
MAX(Sales[Sale 2013]),
AVERAGEX(
Sales,
Sales[Sale 2013]
)
)
Best regards,
Lionel Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @SachinC ,
I think you are talking about this total value.
Try to do like this.
Measure =
IF(
HASONEFILTER(Sales[Brand]),
MAX(Sales[Sale 2013]),
AVERAGEX(
Sales,
Sales[Sale 2013]
)
)
Best regards,
Lionel Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@SachinC , Percent value are Averages unless force to ve sum.
How are you doing it
Ideally, they should be like
Sum(A)/Sum(B)
Are you doing Sum(A/B)?
Or Average(A/B)
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 |
---|---|
112 | |
97 | |
82 | |
67 | |
61 |
User | Count |
---|---|
150 | |
120 | |
99 | |
87 | |
68 |