Forum Discussion
Anonymous
3 years agoNot applicable
Help with DAX
Hi,
I have a table like this below,
| Loan ID | Amount |
| 1 | 1000 |
| 2 | 2000 |
| 3 | 3000 |
I need a new column called totalAmount which should be sum(Amount) against each LoanID like below
| Loan ID | Amount | totalAmount |
1 | 1000 | 6000 |
| 2 | 2000 | 6000 |
| 3 | 3000 | 6000 |
totalAmount should be a calculated column not a measure.
Please Help
Thanks,
Dharani
2 Replies
- DOLEARY85Resident Rockstar
Hi,
try this in a calculated column:
column = CALCULATE(sum('Table (2)'[Amount]),ALL('Table (2)'))If I answered your question, please mark my post as solution, Appreciate your Kudos 👍 - Ashish_MathurSuper User
Hi,
Write this calculated column formula
Column = SUM(Data[Amount])Hope this helps.