Adding a calculated geomean field

Sundar Iyengar

New Member
Joined
Nov 24, 2022
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Hi, I have tried hard to answer my question, but I have not been successful. The description of the problem and the question relates to the image below.
1669331604069.png

There are many regions. Only a few are selected based on Filters 1 through N. Only some of the products get selected based on the Product filter or value filter on Max of Price.
I am able to add a calculated item to compute the price difference between two products if they appear in the table ("Price-Diff 1" row). Likewise, I want to add a calculated field called "Geomean" which is a geometric mean of all values for each row that appear in the table. How do I add this geomean calculated filed?

The number columns (Region) can change based on Filters 1 through N. The geomean calculated field should include all visible columns and only those.

I am trying this in Power Pivot. I have tried Power BI, but the geomean DAX formula computes geometric mean for each column instead of each row. I can use either tool depending on which would allow me to add both the needed calculated item and field.

I'd appreciate any help you can provide.
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top