Forum Discussion
Anonymous
2 years agoNot applicable
DAX Help for counting measure values
Hi Experts,
I need to count below measures A,B and C if the values are not blank using DAX.
Please help.
| A | B | C | Count |
| 25 | 30 | 2 | |
| 0 | |||
| 10 | 30 | 50 | 3 |
| 100 | 1 |
- Anonymous2 years ago# =VAR A = IF(ISBLANK([A]),BLANK(),1)VAR B = IF(ISBLANK([B]),BLANK(),1)VAR C = IF(ISBLANK([C]),BLANK(),1)RETURNIF(ISBLANK(A+B+C),BLANK(),A+B+C)
1 Reply
- AnonymousNot applicable# =VAR A = IF(ISBLANK([A]),BLANK(),1)VAR B = IF(ISBLANK([B]),BLANK(),1)VAR C = IF(ISBLANK([C]),BLANK(),1)RETURNIF(ISBLANK(A+B+C),BLANK(),A+B+C)