Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
How do i calculate sum of three rows for each rows for exampple TableA(ColumnA+ColumnB+Column C) in New Calculated Column D i want to show the sum like given below? Please help!
I am getting the same values for all the rows? I want the result as Column D which is total of col a, b and c.
A B C D
1 1 0 2 ( Sum of A+B+C as 1+1+0)
0 1 0 1
1 1 1 3
Solved! Go to Solution.
Just try like below.
Column D = TableA[A] + TableA[B] + TableA[C]
Best Regards,
Herbert
Yeah that was pretty easy like this..it did work !
If you have got your problem solved, you could mark the right answer as solution to close this thread.
Best Regards,
Herbert
hi @asta
In a Calculated Column:
SumABC = CALCULATE(SUMX(Tabla1,Tabla1[A]+Tabla1[B]+Tabla1[C]))
Hi @asta
Try the folliwng using sumx to iterate over each row.
ColumnD=sumx(Yourtable, (cola+colb+colc))
If this works please accept this as solution and also give KUDOS.
Cheers
CheenuSing
User | Count |
---|---|
60 | |
59 | |
56 | |
38 | |
29 |
User | Count |
---|---|
82 | |
62 | |
45 | |
40 | |
39 |