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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
karlo
Frequent Visitor

Summarize no working, what is the problem?

Hi!,

 

I'm trying to get a cumulative value but I can't, the DAX code is:

 

--------------------------

TABLE_A =
    VAR TABLE_X = UNION(CALCULATETABLE(SUMMARIZE(TABLE_1; TABLE_1[ID]; TABLE_1[m00]); TABLE_1[m00]= 1);
                                      CALCULATETABLE(SUMMARIZE(TABLE_1; TABLE_1[ID]; TABLE_1[m01]); TABLE_1[m01]= 1);
                                      CALCULATETABLE(SUMMARIZE(TABLE_1; TABLE_1[ID]; TABLE_1[m02]); TABLE_1[m02]= 1))
     RETURN(SUMMARIZE(TABLE_X ;[ID];"TOT";SUM([m00])))

 

Problem: RETURN(SUMMARIZE(TABLE_X ;[ID];"TOT";SUM([m00]))).... Cannot identify the table that contains the column [m00]

--------------------------

TABLE_X is:

ID

m00

1

1

1

1

1

1

2

1

2

1

3

1

 

I need to the result:

ID

m00

1

3

2

2

3

1

 

I appreciate very much the comments 

Thanks,

1 ACCEPTED SOLUTION
Nathaniel_C
Community Champion
Community Champion

Hi @karlo ,
Try this:

Z = CALCULATE(SUM(x[m00]),ALLEXCEPT(x,x[ID]))


Let me know if you have any questions.

If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos 👍are nice too.
Nathaniel

cnt.PNG

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

3 REPLIES 3
Nathaniel_C
Community Champion
Community Champion

Hi @karlo ,
Try this:

Z = CALCULATE(SUM(x[m00]),ALLEXCEPT(x,x[ID]))


Let me know if you have any questions.

If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos 👍are nice too.
Nathaniel

cnt.PNG

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Thank you Nathaniel_C

You are welcome!
Nathaniel





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.