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!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi,
I have Emp_ID, Dept, bonus and salary. I calculated bonus % in a measure and then another measure to with condition Bonus<= 5% then "Yes" else "No".
Now I have Emp_ID, Dept, bonus % and yes/No in my view, I want to know how many emplyees we have yes in each dept or dept wise employees count who are yes in yes/no measure.
Solved! Go to Solution.
@RakeshBI,
Create the following measure in your table and create a table visual as follows. If the DAX doesn't return your expected result, please share sample data of your table and post the DAX you use to calculate bonus % and Bonus<= 5%
Measure 2 = CALCULATE(COUNT(Table1[Emp_ID]),FILTER(Table1,Table1[Bonus 5%]="Yes"))
Regards,
Lydia
Hi,
Can you count mutliple values using one measure? So "yes" and "no" would be counted in the same measure? I need to use the measure to feed into another measure and can't do this if there are mutliples. Thank you.
@RakeshBI,
Create the following measure in your table and create a table visual as follows. If the DAX doesn't return your expected result, please share sample data of your table and post the DAX you use to calculate bonus % and Bonus<= 5%
Measure 2 = CALCULATE(COUNT(Table1[Emp_ID]),FILTER(Table1,Table1[Bonus 5%]="Yes"))
Regards,
Lydia
Hi guys!
I've got a similar issue, but in my case the measure doesn't return a binary value, but Text Values (Overdue, On Track, Concluded [for exemple]), and I'd like to display the amount of times those values are appearing on my matrix.
Btw, i use this measure already on a matrix, and I want to improve this simple dashboard with graphs.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 50 | |
| 47 | |
| 32 | |
| 15 | |
| 14 |
| User | Count |
|---|---|
| 88 | |
| 76 | |
| 40 | |
| 26 | |
| 26 |