Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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 |
---|---|
25 | |
12 | |
8 | |
6 | |
6 |
User | Count |
---|---|
26 | |
12 | |
11 | |
8 | |
7 |