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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
GoodMan85
Frequent Visitor

AVG Measures

Hello to all,
I have a series of calculated measures and of these measures I would like to make a simple arithmetic average.

Is there someone who can help me?

 

AVG MEAS.PNG

 

AVG MEAS 2.PNG

From [-12 OH] to [-1 OH] are Measures and I need to calculate the Average. In Figure 1 I have full of Data Sets while in Figure 2 I haven't Date in [-12 OH] to [-9 OH]. In the first case the average must correspond on all the measures while in the second case only on the full ones

2 REPLIES 2
v-chenwuz-msft
Community Support
Community Support

Hi @GoodMan85,

I suggest you use the matrix table

I create some simple data like the following:

vchenwuzmsft_0-1632991039775.png

 

And create a matrix table

vchenwuzmsft_1-1632991039777.png

 

The result:

vchenwuzmsft_2-1632991039779.png

 

If I misunderstood you meaning, please let me know.

Here is my pbix file you can reference.

 

Best Regards

Community Support Team _ chenwu zhu

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

MFelix
Super User
Super User

Hi @GoodMan85 ,

 

Try the following code:

Average of measures = 
AVERAGEX (
   FILTER( UNION (
        SUMMARIZE ( table, table[itemcode], "@MeasureTotal", [Measure] ),
        SUMMARIZE ( table, table[itemcode], "@MeasureTotal", [Measure 2] ),
        SUMMARIZE ( table, table[itemcode], "@MeasureTotal", [Measure 3] )
    ),[@MeasureTotal] <> BLANK()),
    [@MeasureTotal]
)

MFelix_0-1632989813253.png

 


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português





Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.