Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi experts!
I have a table like this:
| Date | Article | Department | Value |
| 01.01.2023 | A | 1 | 5 |
| 01.01.2023 | A | 2 | 0 |
| 02.01.2023 | A | 1 | 6 |
Now I would like to add a calculated column or an measure that shows me the Sum for each article regardles of the Department.
| Date | Article | Department | Value | Value Final |
| 01.01.2023 | A | 1 | 5 | 5 |
| 01.01.2023 | A | 2 | 0 | 5 |
| 02.01.2023 | A | 1 | 6 | 6 |
How would you do that in DAX?
Solved! Go to Solution.
Hi @joshua1990
New column
Value Fina =
CALCULATE (
SUM ( 'Table'[Value] ),
ALLEXCEPT ( 'Table', 'Table'[Date], 'Table'[Article] )
)
Could work also as a measure
Hi @joshua1990
New column
Value Fina =
CALCULATE (
SUM ( 'Table'[Value] ),
ALLEXCEPT ( 'Table', 'Table'[Date], 'Table'[Article] )
)
Could work also as a measure
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 6 | |
| 6 | |
| 4 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 24 | |
| 17 | |
| 9 | |
| 7 | |
| 6 |