Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hey there!
I'm trying to make a line chart that show the improvment of occurrences (issues / problems) over time.
I have a table with the date when the issues were detected and when said issues were fixed (if they got fixed). The idea is to show the development of the issues trough time, with the line going up with new issues and down with the closing of older issues. Something like this:
The table also have other fields that can be used as filters, like the issues priority (critical, medium and high) and their status (open and closed). The most important filter here is the status, I think, because this is how I know the problem is still unsolved.
The problem his, I can only make the graphics with the issues associated with the date of creation or date of resolution, and they need to have a span in time, if the issue was open for 9 days, then the line should be up for 9 days with that issue. Instead what I have is the line going up on the date that is associated with the issues (ie. if I have 2 issues on March 3rd, the line goes up 2 values, if on the following days I have no issues the line come down to 0, even though the issue is still open). This is what I have:
Can anyone help me? Appreciated.
this really has to do with the way your data is modelled. If you want an issue to be persisted until its resolved, you would probably need a row for every day you are tracking it as unresolved until it is resolved. Your data point only says issue on the day 1. It needs to know the full length of time that is is an issue.
Doing something with a cummulative count per day, to add and subtract new issues and resolved issues, or having a row for each day it is open would give you the number you are looking for. But it requires some data modelling. There are probably other ways of doing it too but this is my suggestion.
You could probably also create a measure but you would need to provide some sample data to see if that would work.
Proud to be a Super User!
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
79 | |
73 | |
58 | |
36 | |
32 |
User | Count |
---|---|
90 | |
62 | |
61 | |
49 | |
45 |