Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi All.
I summed 4 columns of data using the SUMX function
Solved! Go to Solution.
Hi @Chari
Easiest way is to unpivot the four columns in power query hense the column names would appear as values in the [Attribute] column therefore you can use it as filter.
Hi @Chari
Just as @tamerj1 said that you can unpivote the 4 column, here are detailed step:
First of all, select the four column and unpivote then in power query.
Then add a measure:
Measure 2 = SUM('Table (2)'[Value])
The result is as follow:
Best Regards
Zhengdong Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Chari
Just as @tamerj1 said that you can unpivote the 4 column, here are detailed step:
First of all, select the four column and unpivote then in power query.
Then add a measure:
Measure 2 = SUM('Table (2)'[Value])
The result is as follow:
Best Regards
Zhengdong Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Chari
Easiest way is to unpivot the four columns in power query hense the column names would appear as values in the [Attribute] column therefore you can use it as filter.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 19 | |
| 13 | |
| 10 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 31 | |
| 28 | |
| 19 | |
| 11 | |
| 10 |