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

Join 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.

Reply
Anonymous
Not applicable

Calculate how many suppliers have certain number of workers

Hi all,

I am very new to Power BI (mainly a Spotfire user) and i am totally stuck trying to convert my spotfire brain to Power BI. 

(Dummy example below of what i need to do).

 

I have a report that has one table "Workers", with columns "Employee ID" and "Supplier". 

I need to table that shows me how many workers each supplier has, but now i need to show how many suppliers have only 1 worker, 2 worker etc...

or even summarise the data in ranges, i.e. 100 suppliers have 1-5 workers, 80 have 6-15, 30 have 16-30....etc...

I would have done this in spotfire by summing the total employee ID over supplier. 

 

Employee IDSupplier
1233545Maxx CO
2354565Maxx CO
2345665Johnson PTY
5675678Felix Sons
5656453Maxx CO
3243565Clara Ltd 

  

Number of workersNumber of Suppliers
13
20
31
1 ACCEPTED SOLUTION
ryan_mayu
Super User
Super User

@Anonymous 

pls see the attachment below

11.PNG





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

5 REPLIES 5
ryan_mayu
Super User
Super User

@Anonymous 

pls see the attachment below

11.PNG





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Anonymous
Not applicable

Thanks for this. How did you create the new table 2? 

Sorry i might need some step by step instructions on how you built it...

I use DAX to create the table

 

Table 2 = GENERATESERIES(1,max('Table'[Column]))
 
12.PNG




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Anonymous
Not applicable

thank you! i managed to figure out your solution and it worked! thanks champ!!

you are welcome





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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