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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi Guys,
This question may sound simple but I could not find a solution here.
I have a table that has 2 columns User and Category,
I would like to find the number of how many unique people fall into each Category (T/F).
The problem is there are some users having both Categories.
I do not know the way to find this number.
you can see what I mean in the picture below. I do not know how to get the table on the right side.
Thank you in advance
I am very appreciated for your answer.
Solved! Go to Solution.
His is my solution :
1- in Power Query, Create a copy of the particular table
2- then, in User column, create a group as below :
3- Filter the Count just for show the Count = 2
4- in the main table, create the merge table :
5- then, tick just Count
6-in Power BI create a simple column :
Hi,
Create a table visual and Drag the Category and User as a column, then change the user attribute as shown the distinct count :
Hi MahyarTF,
Thank you for your answer.
As you can see F =4 , T = 5 is not equal to 7
So, I need to find the overlap in both T and F.
Please help.
Change it to count, then the 9 is shown
I would like to see a table like my picture above
T = 3
F = 2
***T and F = 2***
(Total will be 7)
His is my solution :
1- in Power Query, Create a copy of the particular table
2- then, in User column, create a group as below :
3- Filter the Count just for show the Count = 2
4- in the main table, create the merge table :
5- then, tick just Count
6-in Power BI create a simple column :
Hi MahyarTF,
I do not know why I can not click "OK" on this step.
Please advise
You have to select the link column (User) in each table.(just click on the title of the column in each table)
Thank you MahyarTF, It works for me, and I will accept your answer as a Solution ^^
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!