Forum Discussion

dbrandone's avatar
dbrandone
Icon for Helper IV rankHelper IV
4 years ago
Solved

Table Matrix Conundrum, Looking for ideas!

Hi Everyone,   I have a matrix that I am putting together and the second value in the row field(drill down) is pulling all values relating to the columns instead of the values that are not zero. Th...
  • Greg_Deckler's avatar
    Greg_Deckler
    4 years ago

    dbrandone Try:

    Transplant Intent Recoveries Total = 
        VAR TIRtotal = 
            CALCULATE(
                COUNTROWS(v_EyeRecovery_EyeTissueRecovered),
                v_EyeRecovery_EyeTissueRecovered[RecoveryIntent] = "Transplant",
                v_EyeRecovery_EyeTissueRecovered[ParentId] = BLANK()
        )
    
        VAR Result = IF(
                        ISBLANK(TIRtotal),
                        0,
                        TIRtotal
        )
    
        Return IF(ISINSCOPE('Dates'[MonthName]),1,Result)
  • Greg_Deckler's avatar
    Greg_Deckler
    4 years ago

    dbrandone Did you add that measure to the matrix? If not, try that and turn off word wrap and then shrink the column to nothing.