Forum Discussion

motyagi's avatar
motyagi
Helper I
8 years ago
Solved

Grand Total In power BI matrix doesn't match

Hi There,    I have a Table and the grand totals for a measure dont match up. i.e If I add each row in the table in excel it doesn't give me the same result as Power BI.    How can i fix this ? P...
  • Vvelarde's avatar
    Vvelarde
    8 years ago

    motyagi

     

    Hi, try with this measure:

     

    Result-CostExpectation =
    IF (
        HASONEVALUE ( Table1[Project ] );
        [CostExpectationM];
        SUMX ( VALUES ( Table1[Project ] ); [CostExpectationM] )
    )

    Regards

    Victor