Forum Discussion
WeihsMichael
4 years agoNew Member
sum column A based on values in column B
Last column (3.754.621) should only total up values if column before (3.400.580) contains values (so the last 3 rows should not be part of the total, currently they are). Both data fields are w...
- 4 years ago
WeihsMichael you can write a measure like this
_val2 = CALCULATE(SUM(t2[val2]),FILTER(t2,t2[val1]<>BLANK()))
smpa01
Community Champion
4 years agoWeihsMichael you can write a measure like this
_val2 = CALCULATE(SUM(t2[val2]),FILTER(t2,t2[val1]<>BLANK()))
WeihsMichael
4 years agoNew Member
Thanks, tried but get a syntax error.
- smpa014 years ago
Community Champion
WeihsMichael that is because you did not close parenthesis after
SUM(tbl[column]- WeihsMichael4 years agoNew Member
Thx, changed it but strange things happened, some rows show wrong values now, some show no values at at 🙂
- smpa014 years ago
Community Champion
WeihsMichael provide a sample pbix but uploading it in 1/g drive and share the link here