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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Yosinator
Frequent Visitor

Creating a measure to average all the values in this chart

Does anyone know how I can average the datapoints in this chart? 

Yosinator_0-1669328261777.png

 

1 ACCEPTED SOLUTION
Mikelytics
Resident Rockstar
Resident Rockstar

Hi @Yosinator 

 

Do you work with other measures and do you use filters?

 

Pleae try the following:

 

Average =

CALCULATE(
   AVERAGE(TableValue[ColumnWithValue]),
   ALL(TableXAxis[ColumnOnXAxis)
)

 

or

 

Average =

CALCULATE(
AVERAGE(TableValue[ColumnWithValue]),
ALLSELECTED(TableXAxis[ColumnOnXAxis)
)

 

or if you already work with measures and you want to put the average on top:

 

Average =

CALCULATE(
   AVERAGEX(
      VALUES(TableXAxis[ColumnonXAxis]),
      CALCULATE(
         [Measure]
      )
   )
ALLSELECTED(TableXAxis[ColumnOnXAxis)
)

 

WIth a little bit more context (data model, measures used as well as filters used) I would be able to give a more specific answer.

 

Best regards

Michael

-----------------------------------------------------

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

@ me in replies or I'll lose your thread.

-----------------------------------------------------

LinkedIn

 

 

------------------------------------------------------------------
Visit my blog datenhungrig which I recently started with content about business intelligence and Power BI in German and English or follow me on LinkedIn!

View solution in original post

1 REPLY 1
Mikelytics
Resident Rockstar
Resident Rockstar

Hi @Yosinator 

 

Do you work with other measures and do you use filters?

 

Pleae try the following:

 

Average =

CALCULATE(
   AVERAGE(TableValue[ColumnWithValue]),
   ALL(TableXAxis[ColumnOnXAxis)
)

 

or

 

Average =

CALCULATE(
AVERAGE(TableValue[ColumnWithValue]),
ALLSELECTED(TableXAxis[ColumnOnXAxis)
)

 

or if you already work with measures and you want to put the average on top:

 

Average =

CALCULATE(
   AVERAGEX(
      VALUES(TableXAxis[ColumnonXAxis]),
      CALCULATE(
         [Measure]
      )
   )
ALLSELECTED(TableXAxis[ColumnOnXAxis)
)

 

WIth a little bit more context (data model, measures used as well as filters used) I would be able to give a more specific answer.

 

Best regards

Michael

-----------------------------------------------------

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

@ me in replies or I'll lose your thread.

-----------------------------------------------------

LinkedIn

 

 

------------------------------------------------------------------
Visit my blog datenhungrig which I recently started with content about business intelligence and Power BI in German and English or follow me on LinkedIn!

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Kudoed Authors