Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago

Total Visualization total is showing wrong

 

Hi all ,

 

I am new to group and Power BI. I have created a measue Total Cost = 

Total Cost = SUM(Sheet1[QtyShip])*sum(Sheet1[CuryCost])
 
 
Please help me to resolve this issue.

3 Replies

  • v-qiuyu-msft's avatar
    v-qiuyu-msft
    Community Support

    Hi Anonymous, 

     

    The DAX you use is Total Cost= SUM(Sheet1[QtyShip])*sum(Sheet1[CuryCost]), on total row level, it will sum all Sheet1[QtyShip] values, then multiply this value by sum total of Sheet1[CuryCost]. So it will not sum each Total Cost values then display in total row. 

     

    You can refer to this same thread: https://community.powerbi.com/t5/Desktop/Calculating-the-SUM-of-Calculated-Measure/td-p/502596

     

    Best Regards,
    Qiuyun Yu 

  • v-qiuyu-msft's avatar
    v-qiuyu-msft
    Community Support

    Hi Anonymous, 

     

    Please share the pbix file with us if you are importing data to the report. If it's possible, please upload the pbix file to your OneDrive and share the link here if the report doesn't contain any sensitive data. 

     

    Best Regards,
    Qiuyun Yu 

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi v-qiuyu-msft , Thank you for your reply. I have remove total from Visualization-->Format. So, now it is not appearing at below. But still need to dril down, why total was showing wrong.