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 for clarity, I have included the dataset. What I am currently attempting is for each 'Teams' display the total Test Result for each selection based on the Teams column.
I.e Content Support would have their own analytic view which comprise of 4 possible status's Pass, Failed, In Progress and Not Started. If any of the status's do not exist I wish to display a 0 on the score card.
Also, the test result status's are added and then dispalyed for each team.
Please advise how I would construct this query. Thanks.
shere100 - For clarification, is this what you're looking for?:
1. A single scorecard that will count how many times each status appears for a given team?
-If so, that will require the measure to count the # of rows, filtered by Team(s) and Status(es)