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
ayush_mriti
Helper I
Helper I

AverageX Total average not showing correct value

Hi All,

 

The AverageX output average is not showing the correct values. Here is the screenshot. here the total average output 35 (average2xfinal) is not correct, the correct output should be (10+83+4+129)/4 = 56.5.

ayush_mriti_0-1730831817313.png

Here is the calculation for AverageX :

average2xfinal = AVERAGEX(Kanban_output, Kanban_output[LODcycletime]/ Kanban_output[LODissuecount])
 
And LOD cycletime: 
LODcycletime = SUMX(
    VALUES('Kanban_output'[SnapshotMonth]),
    CALCULATE(
        sum('Kanban_output'[CycleTime]),
        ALLEXCEPT('Kanban_output',
         'Kanban_output'[SnapshotMonth],
         'Kanban_output'[atr_key],
          'Kanban_output'[l3id])
    )
)
 

Appreciate for your help.

 

1 ACCEPTED SOLUTION
FreemanZ
Super User
Super User

hi @ayush_mriti ,

 

try like:

average2xfinal = 

AVERAGEX(VALUES(Kanban_output[atr_key]), Kanban_output[LODcycletime]/ Kanban_output[LODissuecount])

View solution in original post

2 REPLIES 2
ayush_mriti
Helper I
Helper I

Perfect ! Thanks a lot 

FreemanZ
Super User
Super User

hi @ayush_mriti ,

 

try like:

average2xfinal = 

AVERAGEX(VALUES(Kanban_output[atr_key]), Kanban_output[LODcycletime]/ Kanban_output[LODissuecount])

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.

Top Solution Authors