Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi there
I'd like to get the sum of the Column "Investment Budget Nr", without beeing split up into the value from the column "ID".
I tried it with SUMX and SUMMARIZE, but it still showed up the split up values, instead of the grouped sum of the Investment Budget Nr.
SUMX(
Solved! Go to Solution.
Hi @Etienne_1995 ,
I made simple samples and you can check the results below:
Total by Nr = var _t = ADDCOLUMNS('Table',"Total by Nr",SUMX(FILTER(ALL('Table'),[Investment Budget Nr]=EARLIER([Investment Budget Nr])),[Effective Price]))
RETURN SUMX(_t,[Total by Nr])
An attachment for your reference. Hope it helps!
Best regards,
Community Support Team_ Scott Chang
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Etienne_1995 ,
I made simple samples and you can check the results below:
Total by Nr = var _t = ADDCOLUMNS('Table',"Total by Nr",SUMX(FILTER(ALL('Table'),[Investment Budget Nr]=EARLIER([Investment Budget Nr])),[Effective Price]))
RETURN SUMX(_t,[Total by Nr])
An attachment for your reference. Hope it helps!
Best regards,
Community Support Team_ Scott Chang
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.
If you could share the expected output that would be easy to calculate. Still if my understanding is clear you need total sum of Investment Budget Nr but not at Single ID level but for all the id's. please see the below output.
for this yor can assume catgeory month is one unique id. and to calculate this you need to create this measure
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 40 | |
| 35 | |
| 34 | |
| 31 | |
| 28 |
| User | Count |
|---|---|
| 137 | |
| 102 | |
| 68 | |
| 66 | |
| 64 |