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,
Can someone help me with this?
I have Table A as shown below and i would like to count the number of ProposalID each person has (Table B). Thereafter, i would like to have another table or chart to show how many people have 1 proposal, 2 proposals, 3 proposals etc.
Thank you.
Table A
| Name | ProposalID |
| Paul | 333 |
| Tom | 222 |
| Paul | 431 |
| Paul | 321 |
| James | 521 |
Table B
| Name | Count |
| Paul | 3 |
| Tom | 1 |
| James | 1 |
Solved! Go to Solution.
Hi @paxdolphin ,
1.In desktop, create a measure like
Count = CALCULATE(COUNT('Table'[ProposalID]),FILTER(ALLSELECTED('Table'),[Name]=MAX('Table'[Name])))
2.In Power Query, select the 'Name' and right click 'Group by'.
Select 'Count Rows' and click OK.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @paxdolphin ,
1.In desktop, create a measure like
Count = CALCULATE(COUNT('Table'[ProposalID]),FILTER(ALLSELECTED('Table'),[Name]=MAX('Table'[Name])))
2.In Power Query, select the 'Name' and right click 'Group by'.
Select 'Count Rows' and click OK.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
sorry i think i wasn't clear. The end table which i would like to have is something like this. Can someone tell me how to achieve this? thank you
| X | Number of people who submitted x proposals |
| 1 | 2 |
| 3 | 1 |
Hi @paxdolphin ,
I introduced two methods from previous reply.
You may download my attachment for details.
For example, the measure created in power bi desktop, which is the following.
Count = CALCULATE(COUNT('Table'[ProposalID]),FILTER(ALLSELECTED('Table'),[Name]=MAX('Table'[Name])))
It's the results about the number of ProposalID group by name.
The results are displayed as a table visual in desktop.
Hope you understand.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
You can simply select the name and proposal ID fields and click bar graph to get the expected output:
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!
| User | Count |
|---|---|
| 103 | |
| 80 | |
| 59 | |
| 51 | |
| 46 |