Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Trending Graph - Help!

Hi, first time poster - I have given up after 8 hours of trial and error and youtube tutorials. Maybe I'm not cut from the right cloth 😞 

 

Basically, I have some data (attached) which I'd like to create a trending graph from. I need the graph to show the total number of active issues (open + closed) cumlatively growing over the month as each is created.  I also need the same but only showing the 'closed' issues growing over the month. 

 

The result will be a graph (similar to that shown in example) showing the active number of issues being followed by issues closed out. the difference between the two line will be the otustanding issues. 

 

Any help is apprecaited, I'm hopnig this is a really simple answer for someone who actually knows what they are doing! 

 

Thanks 

 

Stephen Example

  • Anonymous's avatar
    Anonymous
    5 years ago

    @Stephen239
    Check pbix if necessary, here are the 2 measurements with your sample data.

    All issues = CALCULATE(COUNT('Report Content'[Id]),FILTER(ALLSELECTED('Report Content'),[Created on]<=MAX([Created on])))
    
    Closed issues = CALCULATE(COUNT([Id]),FILTER(ALLSELECTED('Report Content'),[Created on]<=MAX([Created on]) && [Status]="CLOSED"))

    all and closed issues.JPG

    Paul Zheng _ Community Support Team
    If this post helps, please accept it as the solution to help the other members find it faster.

5 Replies