cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Stephen239
Regular Visitor

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 ExampleExample

1 ACCEPTED SOLUTION

@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.

View solution in original post

5 REPLIES 5
amitchandak
Super User
Super User

@Stephen239 , looking at data not able to find a way to know both open and close dates. If you have that we can follow the current employee approach or HR :  https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-tr...

 

Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

Did I answer your question? Mark my post as a solution! Appreciate your Kudos!! !!
Dashboard of My Blogs !! Connect on Linkedin

Learn Power BI Beginners !! Advance Power BI Concepts !! Power BI For Tableau User !! Learn Power BI in Hindi !!
Proud to be a Super User!

Hi, thanks for your response. See link below to data in its native format. 

 

 https://robertsongroup-my.sharepoint.com/:f:/g/personal/s_king_robertson_co_uk/EsxU0vrCZq1Ij4i19CnSk...

 

 

 

@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.

View solution in original post

Hi, is it possbile to change the trending style for the closed issues? At the moment it looks like when issues are created there is also issues closed at the same time wich is incorrect. I think its becasue the field being used in closed issues is [created on].  There is also a data field titled [updated on] which can be used as the issue closed date. I thought it would simply be a case with replacing the [created on] field with [updated on] so the trending line for closed issues is refelctive of when they are closed but it doesnt seem to work.

 

Any help is appreciated 

Thank you very much, this is perfect!

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

November Power BI Update 768x460.png

Check it Out!

Click here to read more about the November 2021 Updates!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.