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.
how to calculate average of 3 columns? I have three percentage columns for Jan,Feb,March.
I would like to display avearge of 3 in the 4th column as "average of 3months".
Thank you in advance.
Solved! Go to Solution.
In the formula bar, type:
= Table.AddColumn(NameOfPriorStep, "Average", each ([Jan] + [Feb] + [March])/3)
--Nate
Hi @kavithaDev ,
Does @watkinnc ‘s method help you? If it is useful, please accept his answer as a solution, and more people will benefit.
Here I suggest that you can also use the DAX function to calculate in Power BI Desktop. This is another method.
The measure is like
AVERAGEX(ALLEXCEPT('TABLE'[MONTH]),[PERCENTAGE])
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
In the formula bar, type:
= Table.AddColumn(NameOfPriorStep, "Average", each ([Jan] + [Feb] + [March])/3)
--Nate
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.