Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
kavithaDev
Regular Visitor

how to calculate average of 3 percentage columns?

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.

 

1 ACCEPTED SOLUTION
watkinnc
Super User
Super User

In the formula bar, type:

= Table.AddColumn(NameOfPriorStep, "Average", each ([Jan] + [Feb] + [March])/3)

--Nate


I’m usually answering from my phone, which means the results are visualized only in my mind. You’ll need to use my answer to know that it works—but it will work!!

View solution in original post

2 REPLIES 2
v-stephen-msft
Community Support
Community Support

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.

watkinnc
Super User
Super User

In the formula bar, type:

= Table.AddColumn(NameOfPriorStep, "Average", each ([Jan] + [Feb] + [March])/3)

--Nate


I’m usually answering from my phone, which means the results are visualized only in my mind. You’ll need to use my answer to know that it works—but it will work!!

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors