Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Preparing for a certification exam? Ask exam experts all your questions on May 15th. Register now.

Reply
Vizbaby
Frequent Visitor

How to sum up columns on a table (column is derived from DAX formula)

Please how do i sum up the columns in yellow? the total is coming up as the total of 1997(201 and 63) instead of the entire sum from 1981. The column numbers were derived from a formula, the columns DO NOT appear on the table.

Vizbaby_0-1701277872831.png

 

1 ACCEPTED SOLUTION
adudani
Super User
Super User

hi @Vizbaby ,

Try creating the measure below and replace with the table name in the model:

Sumx over years  =
SUMX( 
VALUES('ALLYEARVALUETABLE'[ALLYEAR]),
[ActiveMembersCount]
)

  if this doesn't resolve the issue, please provide a sample input masking sensitive data

Did I answer your question? Mark my post as a solution, this will help others!
If my response(s) assisted you in any way, don't forget to drop me a Kudos 🙂
Kind Regards,
Avinash

View solution in original post

2 REPLIES 2
Vizbaby
Frequent Visitor

Youre amazing. Thank You🙌

adudani
Super User
Super User

hi @Vizbaby ,

Try creating the measure below and replace with the table name in the model:

Sumx over years  =
SUMX( 
VALUES('ALLYEARVALUETABLE'[ALLYEAR]),
[ActiveMembersCount]
)

  if this doesn't resolve the issue, please provide a sample input masking sensitive data

Did I answer your question? Mark my post as a solution, this will help others!
If my response(s) assisted you in any way, don't forget to drop me a Kudos 🙂
Kind Regards,
Avinash

Helpful resources

Announcements
PBIApril_Carousel

Power BI Monthly Update - April 2025

Check out the April 2025 Power BI update to learn about new features.

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

Find out what's new and trending in the Fabric community.

Top Kudoed Authors