This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
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})))
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 39 | |
| 28 | |
| 28 | |
| 22 | |
| 18 |
| User | Count |
|---|---|
| 67 | |
| 37 | |
| 32 | |
| 26 | |
| 25 |