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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
tebtim19
Helper IV
Helper IV

Count of Regular Employee

I have tables of all employess with type of regular and temporary,  I want to add a card that it will shows only the count of employee that are regular. Is that possible. 

1 ACCEPTED SOLUTION

Hi @tebtim19 

 

Something like this:

calculate(Count(Table[Empolyee ID]), Table[type]="regular"&&Table[Gender]="male"))

or
calculate(Count(Table[Empolyee ID]), filter(Table,Table[type]="regular"&&Table[Gender]="male"))

or
calculate(distinctcount(Table[Empolyee ID]), Table[type]="regular"&&Table[Gender]="male"))

 

Community Support Team _ Dina Ye
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

3 REPLIES 3
amitchandak
Super User
Super User

@tebtim19 , Try like

calculate(Count(Table[Empolyee ID]), Table[type]="regular")

or
calculate(Count(Table[Empolyee ID]), filter(Table,Table[type]="regular"))

or
calculate(distinctcount(Table[Empolyee ID]), Table[type]="regular")

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Hi thanks this is helpful, how about the count of regular male employee only?

Hi @tebtim19 

 

Something like this:

calculate(Count(Table[Empolyee ID]), Table[type]="regular"&&Table[Gender]="male"))

or
calculate(Count(Table[Empolyee ID]), filter(Table,Table[type]="regular"&&Table[Gender]="male"))

or
calculate(distinctcount(Table[Empolyee ID]), Table[type]="regular"&&Table[Gender]="male"))

 

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.