Forum Discussion

msantillan's avatar
msantillan
Helper II
6 years ago
Solved

Group Summarized values doesn't return correct total

Hi, Can somebody please help and explain why this doesn't return the right total values.   I originally have this matrix with flat values:   However, business does not want the negative...
  • ImkeF's avatar
    ImkeF
    6 years ago

    Hello

    this would probably look like this:

    Test again ?
    SUMX (
    SUMMARIZE (
    'AUM Config',
    'AUM Config'[IDR_BILLING_GROUP], - don't take this from the fact table
    'YourDimTableName'[IDR Config SETTINGNA....], // take the field from the Dim table that you have used in the report
    'YourDimTableName'[Adjusted MOD_Groupin....], // take the field from the Dim table that was used in the report
    "@MKT", SUM ( 'AUM Config'[MKT_VALUE_USD] )
    ),
    SI ( [@MKT] > 0, [@MKT], WHITE () )
    )

    Replace the red text with the model match fields.