Forum Discussion
abukapsoun
8 years agoPost Patron
Count measure
Hi Dears,
I have a simple measure but struggling to find the right forumla.
I have the following column
X
X
X
Y
Z
I want to reach Total = (SUM of X + SUM of Y)
thanks in advance,
calculate(countrows(yourtablename),[yourcolumnname]="X"||[yourcolumnname]="Y")
3 Replies
- jthomsonSolution Sage
calculate(countrows(yourtablename),[yourcolumnname]="X"||[yourcolumnname]="Y")
- abukapsounPost Patron
It worked. Thank you.
- v-huizhn-msftMicrosoft Employee
Hi abukapsoun,
Please use the formula jthomson posted, then mark the right/helpful reply as answer. If you still have other problems, please respond to us.
Thanks,
Angelia