Forum Discussion
Power Bi Filters
- Anonymous7 years ago
You're welcome. Thinking a bit more about this. The solution will work, but I don't think it's the most elegant way.
You're talking about expected statuses that don't actually exist. But actually, you know what the statuses will be, right?
You can add another table, with the list of expected statuses.
Then create a Relationship between this table and your current table. That relationship will cause the existing table to be filtered by the new.
Create the following visual to show all statuses:
1. Table visual with the Status from the new table, and the Count of Status measure.
2. Right-click the Status field, and click "Show items with no data".
Each row in the table is a status - since the new table filters the existing, the existing table is limited to only the rows with that status.
Hi, thanks for the response.
I have created the visual as well as the measure using the query supplied.
How do I now apply this to the donut chart visual? once I select the measure how to I enforce?
With this measure to the donut visual, where the filter does not exist a 0 will be displayed as per query in the measure. How do I apply please?
shere100 - I don't understand the requirement. Donut chart displays part-to-whole comparison. If the part is zero or blank, it wont be displayed in a donut or pie chart. I don't know of a way to show zero/blanks in a donut chart.
- shere1007 years agoHelper II
Apologies I meant score card. If I have a score card for each status, if the filter does not exist on the score card then to display a 0 as per query on the measure.
How would I embed the measure in to the score card?