Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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,
Solved! Go to Solution.
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
Proud to be a Super User!
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
Proud to be a Super User!
You are welcome!
Nathaniel
Proud to be a Super User!
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
42 | |
21 | |
21 | |
14 | |
13 |
User | Count |
---|---|
43 | |
39 | |
33 | |
18 | |
17 |