Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
I can't achieve the last column "Sum Of The Parent":
| Parent | Client | Value | Sum Of The Parent |
| 1 | 1 | 5 | 68 |
| 1 | 2 | 51 | 68 |
| 1 | 3 | 12 | 68 |
| 2 | 4 | 9480 | 29608 |
| 2 | 5 | 20000 | 29608 |
| 2 | 6 | 128 | 29608 |
Like above... My goal is to display the SUM for where parent =1, for where parent =2 and so on...
How can I achieve it in DAX?
Hi @Anonymous
Can you please try below DAX for measure
Measure = CALCULATE(
SUM('Table'[Value]),
ALLEXCEPT('Table','Table'[Parent]))
If solve the requirement, please mark this answer as a solution.
Proud to be a Super User! | |
Hi,
do you want it as a column or a measure?
It doesnt matter as long as I can display it in a table like the above...
I think it has to be a column for it to work...
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 9 | |
| 8 | |
| 3 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 23 | |
| 14 | |
| 10 | |
| 6 | |
| 5 |