Forum Discussion

mussaenda's avatar
mussaenda
Community Champion
7 years ago
Solved

SUM OF AVERAGE

Hello,

 

I just want to get the sum of my average.

as you can see in the photo the total sum of my average is wrong.

 

 

The ave is the cost of every doc no.

In the measure I am trying to sum the cost of every doc no but getting wrong total.

Here is the link for the power bi report: Power BI test file

 

 

Thank you

 

4 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi mussaenda ,

     

    I used the Quick Measure Like this:

    Unit Cost (LCY) average per Destination = 
    AVERAGEX(
    	KEEPFILTERS(VALUES('Table'[Destination])),
    	CALCULATE(SUM('Table'[Unit Cost (LCY)]))
    )

    My output:

    Let me know if this works:

     

    Thanks,

    Tejaswi