Forum Discussion
Nun
Resolver I
1 year agoCalculate average price based on certain condition
I have this table, Agent PZ EUR/pz A 100 280 50 275 C 220 260 D 130 258 E 300 255 F 500 253 G 80 252 H 20 240 I 300 239 J 700 238 K ...
Anonymous
1 year agoNot applicable
Hi Nun ,
Apologies for the delay response.
Calculated column and measure will not give same results. This is because Calculated column computes at row-level in the table whereas a measure is aggregated over a table.
when you use calculated column in visuals (like a table grouped by Customer), Power BI will SUM or AVERAGE those individual values.
The correct way to calculate average in this case is using a measure.
If this doesn’t resolve after checking it, please provide some sample data and expected output so that I will help you to resolve your issue more accurate.
Thank you.
Nun
Resolver I
1 year agoHello. Can you please answer the request? If further information is required, please ask.