Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi ,
I Have Table Like :
Account | Quantity |
1 | 20 |
1 | 40 |
2 | 12 |
2 | 18 |
3 | 70 |
I want to add column like This:
Account | Quantity | New Column |
1 | 20 | 60 |
1 | 50 | 60 |
2 | 12 | 30 |
2 | 18 | 30 |
3 | 70 | 70 |
Solved! Go to Solution.
Hi @RsimonAlign ,
Here are the steps you can follow:
1. Create calculated column.
New Column =
SUMX(
FILTER(ALL('Table'),
'Table'[Account]=EARLIER('Table'[Account])),[Quantity])
2. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi @RsimonAlign ,
Here are the steps you can follow:
1. Create calculated column.
New Column =
SUMX(
FILTER(ALL('Table'),
'Table'[Account]=EARLIER('Table'[Account])),[Quantity])
2. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
User | Count |
---|---|
5 | |
4 | |
4 | |
2 | |
2 |
User | Count |
---|---|
8 | |
4 | |
4 | |
4 | |
3 |