Forum Discussion

Nash2Bos's avatar
Nash2Bos
Helper I
1 year ago

column subtotal not working

Hello all, 

i have an excel data sheet that i moved into powerBI in a matrix table. 

The table looks like this

CityPlansWeek 1Week 2Week 3Week 4Week 5
BostonPlan51051210
 Actual5110210
 +/-01-5-100

 

When i do the column subtotal it comes up with -5 instead of -14. 

 

Thank you all. 

2 Replies

  • Are you referring to the row total for +/-? 

    CityPlansWeek 1Week 2Week 3Week 4Week 5 
    BostonPlan5105121042
     Actual511021028
     +/-01-5-100-14

     

    What is the measure you are using?

     

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi Nash2Bos 

     

    In Matrix visual, the subtotal and grand total values are calculated based on the underlying data instead of the visible data displayed in the visual. I guess in the underlying table, the data is not displayed as you show, and you probably use some measures to calculate the result. This would lead to the unexpected subtotals. Please share some sample data (dummy data) of the underlying table and share the measure DAX you used. We may need to modify the measure or create a new one. 

     

    Best Regards,
    Jing