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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Chrisjr
Helper IV
Helper IV

sum of average per category

Hi All, 

 

I have the following table: 

(the column "avg per waves" is a dax formula)

Dealer/Group NameKPIWavesScoreavg per waves
DelbartiStructureWave 1915.75
DelbartiStructureWave 21815.75
DelbartiStructureWave 31215.75
DelbartiStructureWave 42415.75
SA NVStructureWave 159.75
SA NVStructureWave 299.75
SA NVStructureWave 3119.75
SA NVStructureWave 4149.75
DelbartiWelcomeWave 12317.75
DelbartiWelcomeWave 22117.75
DelbartiWelcomeWave 32017.75
DelbartiWelcomeWave 4717.75
SA NVWelcomeWave 11114.25
SA NVWelcomeWave 21214.25
SA NVWelcomeWave 32414.25
SA NVWelcomeWave 41014.25

I need to calculate the sum of the average score per 4 waves.

Chrisjr_0-1701087297633.png

 

1. I first need to get the average value of the 4 waves together.  So in the image above, I would get an average value of 15,75 for the first green block.

2. then I need the sum of the average of the 4 waves. So I would need the sum of 15,75 + 9,75 + 17,75 + 14,25.

 

How could I achieve that knowing this mesure should be used in different visuals. 

 

Below is my data model:

Chrisjr_1-1701087534942.png

 

 

Thanks for the help

1 ACCEPTED SOLUTION
FreemanZ
Super User
Super User

hi @Chrisjr ,

 

not sure if i fully get you, try to plot a measure like:

Measure = 
VAR _table = 
ADDCOLUMNS(
    SUMMARIZE(
        data,
        Dim_Dealers[dealer/group name],
        Dim_KPI[kpi]
    ),
    "ScoreAvg",
    CALCULATE(AVERAGE(data[Score]))
)
VAR _result = SUMX(_table, [ScoreAvg])
RETURN _result

 

it worked like:

FreemanZ_0-1701089226517.png

 

View solution in original post

2 REPLIES 2
Chrisjr
Helper IV
Helper IV

@FreemanZ thanks a lot for your help 

FreemanZ
Super User
Super User

hi @Chrisjr ,

 

not sure if i fully get you, try to plot a measure like:

Measure = 
VAR _table = 
ADDCOLUMNS(
    SUMMARIZE(
        data,
        Dim_Dealers[dealer/group name],
        Dim_KPI[kpi]
    ),
    "ScoreAvg",
    CALCULATE(AVERAGE(data[Score]))
)
VAR _result = SUMX(_table, [ScoreAvg])
RETURN _result

 

it worked like:

FreemanZ_0-1701089226517.png

 

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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