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 nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Hi,
What is wrong in this formula?
Regards,
Himanshu
Solved! Go to Solution.
@Anonymous , Try like
Feature = CALCULATE(DISTINCTCOUNT('devops-query-spr2'[Work Item Id]),FILTER('devops-query-spr2','devops-query-spr2'[Work Item Type] = "Feature" && not('devops-query-spr2'[Work Item Id] in {9563,9564,9565,9566,9531})))
Hey,
Try this:
Feature = CALCULATE(DISTINCTCOUNT('devops-query-spr2'[Work Item Id]),FILTER('devops-query-spr2','devops-query-spr2'[Work Item Type] = "Feature" && 'devops-query-spr2'[Work Item ID] <> {9563,9564,9565,9566,9531}))See if it works for you
Even this is giving error:
Not sure why but when I write the code seperately it works:
@Anonymous , Try like
Feature = CALCULATE(DISTINCTCOUNT('devops-query-spr2'[Work Item Id]),FILTER('devops-query-spr2','devops-query-spr2'[Work Item Type] = "Feature" && not('devops-query-spr2'[Work Item Id] in {"9563","9564","9565","9566","9531"})))
It still gives error:
But my issue is resolved using the values seperately.
Regards,
Himanshu
@Anonymous , Try like
Feature = CALCULATE(DISTINCTCOUNT('devops-query-spr2'[Work Item Id]),FILTER('devops-query-spr2','devops-query-spr2'[Work Item Type] = "Feature" && not('devops-query-spr2'[Work Item Id] in {9563,9564,9565,9566,9531})))
| User | Count |
|---|---|
| 23 | |
| 19 | |
| 17 | |
| 17 | |
| 12 |
| User | Count |
|---|---|
| 60 | |
| 55 | |
| 47 | |
| 42 | |
| 37 |