Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
Anonymous
Not applicable

Summary sum the issues by users column "Solved by" and sum the issues by users column "Solved by (be

I hope someone can help with this query, I have a requirement for a query summary the total number of issue by the users in the column "Solved by" and the total number of issue by the users in the column "Solved by (before)" then get the % between them.

 

This is what I have:

 

IDSolved bySolved by (before)Repeated
1marioamiSAME ISSUE
2mariojackSAME ISSUE
3mariotomSAME ISSUE
4jacktomSAME ISSUE
5jacktomSAME ISSUE
6tomamiDIFFERENT ISSUE
7jackmarioDIFFERENT ISSUE
8petermarioDIFFERENT ISSUE
9tomjackDIFFERENT ISSUE
10jackjackDIFFERENT ISSUE
11mariomarioSAME ISSUE
12tomtomSAME ISSUE
13tomtomSAME ISSUE
14jackpeterDIFFERENT ISSUE
15amipeterDIFFERENT ISSUE
16amijackSAME ISSUE
17amimarioSAME ISSUE
18petermarioSAME ISSUE
19peterpeterSAME ISSUE
20peterjackDIFFERENT ISSUE
21petertomDIFFERENT ISSUE

 

This is what I want:

 

USERTotal ISSUETotal SAME ISSUE% SAME ISSUETotal DIFFERENTE ISSUE% DIFFERENT ISSUE
mario4375%250%
jack5240%360%
tom45125%125%
peter5120%240%
ami300%133%

 

I try get it by making measure:
```
Total ISSUE = COUNTROWS(DISTINCT(ID))--by "Solved by"

Total SAME ISSUE = COUNTROWS(DISTINCT(FILTER(Table1,Repeated="SAME ISSUE")))--by "Solved by (before)"

Total DIFFERENTE ISSUE = COUNTROWS(DISTINCT(FILTER(Table1,Repeated="DIFFERENTE ISSUE")))--by "Solved by (before)"

% SAME ISSUE = Total SAME ISSUE/Total ISSUE

% DIFFERENTE ISSUE = Total DIFFERENTE ISSUE/Total ISSUE
```
Then put it on a matrix (visualization) on PowerBi, but it doesnt calculated by "solved by" and "solved by before".

Should I calculated it in a different table?

Any help is really appreciated. Thanks a lot

Maria J.

1 ACCEPTED SOLUTION
v-lionel-msft
Community Support
Community Support

Hi @Anonymous ,

 

Please refer to my .pbix file.

v-lionel-msft_0-1613025150616.png

Note: Based on your sample data, your expected output has a bit wrong.

 

v-lionel-msft_2-1613025246903.png

 

 

Best regards,
Lionel Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

View solution in original post

1 REPLY 1
v-lionel-msft
Community Support
Community Support

Hi @Anonymous ,

 

Please refer to my .pbix file.

v-lionel-msft_0-1613025150616.png

Note: Based on your sample data, your expected output has a bit wrong.

 

v-lionel-msft_2-1613025246903.png

 

 

Best regards,
Lionel Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.