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 have a column that calculates the margin as a percentage, between some columns. In the total I would like you to average the margin between all the rows, instead also in the total row, it calculates the percentage between the columns. How could I do? Thanks in advance
Solved! Go to Solution.
Hi @Cervo114 ,
According to your description, I create a sample.
The average can't get the correct result in the Total.
Here's my solution, create a new measure.
Measure =
IF (
ISINSCOPE ( 'Table'[Column1] ),
[Average],
SUMX ( VALUES ( 'Table'[Column1] ), [Average] )
)
Get the correct result.
I attach my sample below for reference.
Best Regards,
Community Support Team _ kalyj
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Cervo114 ,
According to your description, I create a sample.
The average can't get the correct result in the Total.
Here's my solution, create a new measure.
Measure =
IF (
ISINSCOPE ( 'Table'[Column1] ),
[Average],
SUMX ( VALUES ( 'Table'[Column1] ), [Average] )
)
Get the correct result.
I attach my sample below for reference.
Best Regards,
Community Support Team _ kalyj
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
This 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 |
---|---|
84 | |
76 | |
73 | |
42 | |
36 |
User | Count |
---|---|
109 | |
56 | |
52 | |
48 | |
43 |