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.
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.
User | Count |
---|---|
14 | |
9 | |
7 | |
7 | |
6 |
User | Count |
---|---|
21 | |
11 | |
10 | |
10 | |
8 |