Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
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,
Solved! Go to Solution.
calculate(countrows(yourtablename),[yourcolumnname]="X"||[yourcolumnname]="Y")
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
calculate(countrows(yourtablename),[yourcolumnname]="X"||[yourcolumnname]="Y")
It worked. Thank you.