Forum Discussion

abukapsoun's avatar
abukapsoun
Post Patron
8 years ago
Solved

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...
  • jthomson's avatar
    8 years ago

    calculate(countrows(yourtablename),[yourcolumnname]="X"||[yourcolumnname]="Y")