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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. 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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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