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! Learn more
Hello,
My table is called "Sales".
Each invoice is divided into different invoice lines. I would like to add a column with a formula that would enable me to aggregate the amounts of the invoice lines according to the invoice number to which they are attached.
Example: this new column would display for the first two lines the amount 5 because 2+3+6 = 11 = total amount of invoice A.
Can you help me please ? Thank you so much!
Solved! Go to Solution.
hi @rico_o_o
are you expecting a calculated column like below:
column =
SUMX(
FILTER(
sales,
sales[Invoice_number]=EARLIER(sales[Invoice_number])
),
sales[Amount(in euro)]
)
hi @rico_o_o
are you expecting a calculated column like below:
column =
SUMX(
FILTER(
sales,
sales[Invoice_number]=EARLIER(sales[Invoice_number])
),
sales[Amount(in euro)]
)
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 |
|---|---|
| 9 | |
| 5 | |
| 4 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 23 | |
| 12 | |
| 11 | |
| 9 | |
| 8 |