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.
Hello,
Under Column Incident Priority, there are mainly four values, 1-Critical, 2-High, 3-Moderate, 4-Low
There are no critical incidents reported for the selected period. And hence when I drag this column into the table, it simply doesn't show 1-Critical.
However, the client want to see all priorities regardless there is any incidents reported or not.
I tried selecting option 'Show Items with no data' but that doesn't work.
Also, I don't have access to create a new master table. Does anyone know any other option to get this done?
Hi @vishu263
The way in which you need to manage this process is establishing a new table called "Priority" in your data model and have all four priorities in a column within the new Priority table. This will act as your dimension table.
Create a relationship between the dimention table you just created (Priority) and the Incidents table. In your visual, make sure you use the dimension table column with the list of Priorities and then you can use the Total Incidents from your fact table as the basis of your count.
You can create measure like "Total Incidents = COUNTROWS ( IncidentsTable )" and drag this in to the table visual after you have dragged in the Prioritis column from the new dimension table Priority. You can use "Enter Data" to add a quick table with ease. Just make sure to create the relationship from dimPriority to the fact table.
Hope that makes sense
Theo
🙂
If I have posted a response that resolves your question, please accept it as a solution to formally close the post.
Also, if you are as passionate about Power BI, DAX and data as I am, please feel free to reach out if you have any questions, queries, or if you simply want to connect and talk to another data geek!
Want to connect?www.linkedin.com/in/theoconias
Hi Theo,
Thank you for your response. However, I am using PBI Dataset as a source and do not have the option to "Enter Data" or to load a new table.
Is there any other alternative solution for this problem?
Thanks.
Hi @vishu263
Can you create a new DAX table:
IncidentPriorityTable =
DATATABLE (
"Incident Priority", STRING,
{
{ "1 - Critical" },
{ "2 - High" },
{ "3 - Moderate" },
{ "4 - Low" }
}
)
Hope this helps!
Theo
If I have posted a response that resolves your question, please accept it as a solution to formally close the post.
Also, if you are as passionate about Power BI, DAX and data as I am, please feel free to reach out if you have any questions, queries, or if you simply want to connect and talk to another data geek!
Want to connect?www.linkedin.com/in/theoconias
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 |
---|---|
109 | |
96 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
102 | |
88 | |
63 |