Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowTry your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now
Hi,
So i have a PowerPivot and i need to create a Measure to count the values based on a specfic value that is in the column and also to count only items that fall under certian category. So basically it is Countif function but am stuck here. I have done only Count function but how do i insert the if condition part here
so i have the above data and i have created a measure called 'Bill Rate Over Max'
I now want this measure to count all the workers that has 'Bill Rate Over Max' which i have done as shown below
=calculate(count(EDE[Worker]),EDE[Max over Bill Rate?]="Bill Rate Over Max")
But now i want to add another condition which is if the 'Invoice Option' is "Staffing" it has to give the result for the same. For now this formula is calculating values for workers on
Solved! Go to Solution.
Use below formula
=calculate(count(EDE[Worker]),EDE[Max over Bill Rate?]="Bill Rate Over Max",EDE[Invoice Option]="Staffing")
Use below formula
=calculate(count(EDE[Worker]),EDE[Max over Bill Rate?]="Bill Rate Over Max",EDE[Invoice Option]="Staffing")
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 1 |
| User | Count |
|---|---|
| 11 | |
| 10 | |
| 5 | |
| 4 | |
| 4 |