Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I am using cards to show several key stats in my risk report. The cards show the number of new risks, reopened risks, closed risks and overdue risks. Now I want to show the RAG break of each of these stats using smaller cards e.g. show the number of new risks with green status, amber status and red status. If there are no risks for that RAG status, I want the card to show 0. This is what I have created so far:
I am having difficult setting this up when my data set doesn't have the desired value in it. e.g. if my data set doesn't have any red overdue risks, I am unable to filter my card for red
Here's a sample of my dataset
Risk ID | RAG | Status | Overdue? |
R-1 | Red | New | No |
R-2 | Amber | No change | Yes |
R-3 | Amber | No change | Yes |
R-4 | Green | Reopened | No |
R-5 | Red | New | No |
R-6 | Amber | New | No |
R-7 | Amber | New | No |
R-8 | Green | Closed | No |
R-9 | Red | Closed | No |
R-10 | Amber | No change | Yes |
Solved! Go to Solution.
Hi @CF123 ,
You can refer the following links to replace the blank values with "0"s:
1. +0
Display “0” instead of “(Blank)” in Card Visualization in Power BI – Power BI Trick
2. Using COALESCE function
Power BI Pro Tip: show 0 instead of (Blank)
TotalSales = COALESCE(SUM('Sales'[SalesAmount]),0)
If the above one can't help you, please provide some raw data in your table (exclude sensitive data) with Text format and your expected result with backend logic and special examples? It would be helpful to find out the solution. You can refer the following links to share the required info:
How to provide sample data in the Power BI Forum
How to Get Your Question Answered Quickly
And It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.
How to upload PBI in Community
Best Regards
Hi @CF123 ,
You can refer the following links to replace the blank values with "0"s:
1. +0
Display “0” instead of “(Blank)” in Card Visualization in Power BI – Power BI Trick
2. Using COALESCE function
Power BI Pro Tip: show 0 instead of (Blank)
TotalSales = COALESCE(SUM('Sales'[SalesAmount]),0)
If the above one can't help you, please provide some raw data in your table (exclude sensitive data) with Text format and your expected result with backend logic and special examples? It would be helpful to find out the solution. You can refer the following links to share the required info:
How to provide sample data in the Power BI Forum
How to Get Your Question Answered Quickly
And It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.
How to upload PBI in Community
Best Regards
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
104 | |
96 | |
79 | |
65 | |
62 |
User | Count |
---|---|
147 | |
116 | |
104 | |
88 | |
65 |