Forum Discussion
ak77
2 years agoPost Patron
Sub Total calculation Help
Hi All, Please help for the below requirement for matrix Viz. I have the below Main Matrix table.. The user wants the MAIN TOTAL value to be only the sum of values where FundCert value is blank.....
- 2 years ago
ak77 the reason it is not working, value in the columns is not blank it is a string with no value, these are two different things:
here is the updated measure:
Sum Value 1 for Display = SWITCH ( TRUE (), HASONEVALUE ( Earningssample[Category_Classification] ), CALCULATE ( [Sum Value1], KEEPFILTERS ( COALESCE ( Earningssample[Category], "" ) <> "" ) ), CALCULATE ( [Sum Value1], COALESCE ( Earningssample[Category], "" ) = "" ) )
parry2k
2 years agoSuper User
ak77 the reason it is not working, value in the columns is not blank it is a string with no value, these are two different things:
here is the updated measure:
Sum Value 1 for Display =
SWITCH (
TRUE (),
HASONEVALUE ( Earningssample[Category_Classification] ), CALCULATE ( [Sum Value1], KEEPFILTERS ( COALESCE ( Earningssample[Category], "" ) <> "" ) ),
CALCULATE ( [Sum Value1], COALESCE ( Earningssample[Category], "" ) = "" )
)