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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.