Reputation: 183
I have a card, that shows the COUNT of service requests, which consists of "opened" requests and "closed" requests. So in this case, there are 2 requests in total whereas 2 are in status "open" and 0 "closed":
The value comes from column "SR Number"
The setting in power bi is: "PKT" with value SR Number is filtered by column "hierarchy" "open" with value SR Number is filterd by column "hierarchy" AND column "request status" as filter (NEW) "closed" with value SR Number is filtered by column "hierarchy" AND SHOULD BE fed by "request status" as filer (CLOSED) BUT THERE ISN'T ANY
When I set the advanced filter I get (blank) as value.
I now know that this is Power Bi default behaviour and I read some articles on how to replace it with 0. Some recommend a new measure or adding DAX code.
I tried both but still don't get it solved, respectively don't get it at all.
Upvotes: 0
Views: 1789
Reputation: 81
Add new Measure:
PKT Count Formatted = FORMAT(COUNT('Table'[PKT]), "0")
And use it as a field in the viz
Upvotes: 1