The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hello All,
How to SUM (add) two columns in same table?
for example:
Players ,
55
Audinces
1000
I want to add both columns thru mesaure and create new column called Total.
Thanks
Solved! Go to Solution.
Hi @sdhn
If you need a calculated column to sum two column values in the same row, use
Total 1 = 'Table (2)'[Players] + 'Table (2)'[Audinces ]
If you need a calculated column to sum all values in two columns, use
Total 2 = SUM('Table (2)'[Players]) + SUM('Table (2)'[Audinces ])
If you need a measure for Total, use
Total = SUM('Table'[Players] ) + SUM('Table'[Audinces ] )
Or
Total = [Players #] + [Audinces #]
Regards,
Community Support Team _ Jing
If this post helps, please Accept it as the solution to help other members find it.
Hi @sdhn
If you need a calculated column to sum two column values in the same row, use
Total 1 = 'Table (2)'[Players] + 'Table (2)'[Audinces ]
If you need a calculated column to sum all values in two columns, use
Total 2 = SUM('Table (2)'[Players]) + SUM('Table (2)'[Audinces ])
If you need a measure for Total, use
Total = SUM('Table'[Players] ) + SUM('Table'[Audinces ] )
Or
Total = [Players #] + [Audinces #]
Regards,
Community Support Team _ Jing
If this post helps, please Accept it as the solution to help other members find it.
User | Count |
---|---|
82 | |
81 | |
35 | |
32 | |
32 |
User | Count |
---|---|
93 | |
79 | |
62 | |
54 | |
51 |