Forum Discussion

SeungLee95's avatar
SeungLee95
Microsoft Employee
1 year ago
Solved

Apply SUM Total to a Conditionally Formatted Column

I have the following column in my table called SR that has the following values: Null / 1    As seen on the table below, within the Matrix it'll calculate the Subtotal for each row based on the wh...
  • lbendlin's avatar
    lbendlin
    1 year ago

    Test Sum =
    var s = SUMX(ADDCOLUMNS('Table',"s",if([APType]="Classic",0,VALUE([TEST]))),[s])
    RETURN if(s=0,"N/A",FORMAT(s,"#"))