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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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.
Solved! Go to 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"))
@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")
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"))
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 41 | |
| 38 | |
| 36 | |
| 30 | |
| 28 |
| User | Count |
|---|---|
| 128 | |
| 88 | |
| 79 | |
| 67 | |
| 62 |