Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
bgashok
Helper I
Helper I

create graph from daily data of dataset

I have below two table form Azure and would like to plot two graph.

 

Graph 1 = Y-axis : No. of work items in close state from the items present at start of sprint date / total no of work items present at start of sprint date.  X-axis : Sprint name

Graph 2 = Y-axis :  No. of work items added after sprint start date /  total no of work items present at start of sprint date. X-axis : Sprint name

 

Table 1 consists of work item data status for every day.

Table 2 consists of sprint name , start date and end date.  

 

Table 1: 

Sprint NameStart DateEnd Date
Q2-S12-Aug-2315-Aug- 23
Q2-S216-Aug-2329-Aug-23
Q2-S330-Aug-2312-Sep-23
Q2-S413-Sep-2326-Sep-23
Q2-S527-Sep-2310-Oct-23
Q2-S611-Oct-2324-Oct-23
Q2-S725-Oct-237-Nov-23
Q3-S18-Nov-2321-Nov-23
Q3-S222-Nov-235-Dec-23
Q3-S36-Dec-2319-Dec-23
Q3-S420-Dec-232-Jan-23
Q3-S53-Jan-2316-Jan-23
Q3-S617-Jan-2330-Jan-23

 

Table 2: below is sample data, it as different teams, differt sprint and lot of workitem

 

TeamSprintWork Item IdStateClosed DateDate
Team YQ3-S176Closed2023-11-07T11:17:30.9030000-06:0011/7/2023
Team YQ3-S176Closed2023-11-07T11:17:30.9030000-06:0011/8/2023
Team YQ3-S176Closed2023-11-07T11:17:30.9030000-06:0011/9/2023
Team YQ3-S176Closed2023-11-07T11:17:30.9030000-06:0011/10/2023
Team YQ3-S176Closed2023-11-07T11:17:30.9030000-06:0011/11/2023
Team YQ3-S176Closed2023-11-07T11:17:30.9030000-06:0011/12/2023
Team YQ3-S176Closed2023-11-07T11:17:30.9030000-06:0011/13/2023
Team YQ3-S176Closed2023-11-07T11:17:30.9030000-06:0011/14/2023
Team YQ3-S176Closed2023-11-07T11:17:30.9030000-06:0011/15/2023
Team YQ3-S176Closed2023-11-07T11:17:30.9030000-06:0011/16/2023
Team YQ3-S176Closed2023-11-07T11:17:30.9030000-06:0011/17/2023
Team YQ3-S176Closed2023-11-07T11:17:30.9030000-06:0011/18/2023
Team YQ3-S176Closed2023-11-07T11:17:30.9030000-06:0011/19/2023
Team YQ3-S176Closed2023-11-07T11:17:30.9030000-06:0011/20/2023
Team YQ3-S176Closed2023-11-07T11:17:30.9030000-06:0011/21/2023
Team YQ3-S176Closed2023-11-07T11:17:30.9030000-06:0011/22/2023
Team YQ3-S176Closed2023-11-07T11:17:30.9030000-06:0011/23/2023
Team YQ3-S176Closed2023-11-07T11:17:30.9030000-06:0011/24/2023
Team YQ3-S176Closed2023-11-07T11:17:30.9030000-06:0011/25/2023
Team YQ3-S176Closed2023-11-07T11:17:30.9030000-06:0011/26/2023
Team YQ3-S176Closed2023-11-07T11:17:30.9030000-06:0011/27/2023
Team YQ3-S176Closed2023-11-07T11:17:30.9030000-06:0011/28/2023
Team YQ3-S176Closed2023-11-07T11:17:30.9030000-06:0011/29/2023
Team YQ3-S176Closed2023-11-07T11:17:30.9030000-06:0011/30/2023
Team YQ3-S176Closed2023-11-07T11:17:30.9030000-06:0012/1/2023
Team YQ3-S176Developnull10/31/2023
Team YQ3-S176Developnull11/1/2023
Team YQ3-S176Developnull11/2/2023
Team YQ3-S176Developnull11/3/2023
Team YQ3-S176Developnull11/4/2023
Team YQ3-S176Developnull11/5/2023
Team YQ3-S176Developnull11/6/2023
Team YQ3-S176Readynull10/17/2023
Team YQ3-S176Readynull10/18/2023
Team YQ3-S176Readynull10/19/2023
Team YQ3-S176Readynull10/20/2023
Team YQ3-S176Readynull10/21/2023
Team YQ3-S176Readynull10/22/2023
Team YQ3-S176Readynull10/23/2023
Team YQ3-S176Readynull10/24/2023
Team YQ3-S176Readynull10/25/2023
Team YQ3-S176Readynull10/26/2023
Team YQ3-S176Readynull10/27/2023
Team YQ3-S176Readynull10/28/2023
Team YQ3-S176Readynull10/29/2023
Team YQ3-S176Readynull10/30/2023
Team YQ3-S151Developnull10/26/2023
Team YQ3-S151Developnull10/27/2023
Team YQ3-S151Developnull10/28/2023
Team YQ3-S151Developnull10/29/2023
Team YQ3-S151Developnull10/30/2023
Team YQ3-S151Developnull10/31/2023
Team YQ3-S151Developnull11/1/2023
Team YQ3-S151Developnull11/2/2023
Team YQ3-S151Developnull11/3/2023
Team YQ3-S151Developnull11/4/2023
Team YQ3-S151Developnull11/5/2023
Team YQ3-S151Developnull11/6/2023
Team YQ3-S151Newnull10/17/2023
Team YQ3-S151Newnull10/18/2023
Team YQ3-S151Newnull10/19/2023
Team YQ3-S151Newnull10/20/2023
Team YQ3-S151Newnull10/21/2023
Team YQ3-S151Newnull10/22/2023
Team YQ3-S151Newnull10/23/2023
Team YQ3-S151Newnull10/24/2023
Team YQ3-S151Newnull10/25/2023
Team YQ3-S189Closed2023-11-07T11:17:30.9030000-06:0011/7/2023
Team YQ3-S189Closed2023-11-07T11:17:30.9030000-06:0011/8/2023
Team YQ3-S189Closed2023-11-07T11:17:30.9030000-06:0011/9/2023
Team YQ3-S189Closed2023-11-07T11:17:30.9030000-06:0011/10/2023
Team YQ3-S189Closed2023-11-07T11:17:30.9030000-06:0011/11/2023
Team YQ3-S189Closed2023-11-07T11:17:30.9030000-06:0011/12/2023
Team YQ3-S189Closed2023-11-07T11:17:30.9030000-06:0011/13/2023
Team YQ3-S189Closed2023-11-07T11:17:30.9030000-06:0011/14/2023
Team YQ3-S189Closed2023-11-07T11:17:30.9030000-06:0011/15/2023
Team YQ3-S189Closed2023-11-07T11:17:30.9030000-06:0011/16/2023
Team YQ3-S189Closed2023-11-07T11:17:30.9030000-06:0011/17/2023
Team YQ3-S189Closed2023-11-07T11:17:30.9030000-06:0011/18/2023
Team YQ3-S189Closed2023-11-07T11:17:30.9030000-06:0011/19/2023
Team YQ3-S189Closed2023-11-07T11:17:30.9030000-06:0011/20/2023
Team YQ3-S189Closed2023-11-07T11:17:30.9030000-06:0011/21/2023
Team YQ3-S189Closed2023-11-07T11:17:30.9030000-06:0011/22/2023
Team YQ3-S189Closed2023-11-07T11:17:30.9030000-06:0011/23/2023
Team YQ3-S189Closed2023-11-07T11:17:30.9030000-06:0011/24/2023
Team YQ3-S189Closed2023-11-07T11:17:30.9030000-06:0011/25/2023
Team YQ3-S189Closed2023-11-07T11:17:30.9030000-06:0011/26/2023
Team YQ3-S189Closed2023-11-07T11:17:30.9030000-06:0011/27/2023
Team YQ3-S189Closed2023-11-07T11:17:30.9030000-06:0011/28/2023
Team YQ3-S189Closed2023-11-07T11:17:30.9030000-06:0011/29/2023
Team YQ3-S189Closed2023-11-07T11:17:30.9030000-06:0011/30/2023
Team YQ3-S189Closed2023-11-07T11:17:30.9030000-06:0012/1/2023
Team YQ3-S189Developnull10/31/2023
Team YQ3-S189Developnull11/1/2023
Team YQ3-S189Developnull11/2/2023
Team YQ3-S189Developnull11/3/2023
Team YQ3-S189Developnull11/4/2023
Team YQ3-S189Developnull11/5/2023
Team YQ3-S189Developnull11/6/2023
Team YQ3-S189Readynull10/17/2023
Team YQ3-S189Readynull10/18/2023
Team YQ3-S189Readynull10/19/2023
Team YQ3-S189Readynull10/20/2023
Team YQ3-S289Closed2023-11-21T10:45:40.0700000-06:0011/21/2023
Team YQ3-S289Closed2023-11-21T10:45:40.0700000-06:0011/22/2023
Team YQ3-S289Closed2023-11-21T10:45:40.0700000-06:0011/23/2023
Team YQ3-S289Closed2023-11-21T10:45:40.0700000-06:0011/24/2023
Team YQ3-S289Closed2023-11-21T10:45:40.0700000-06:0011/25/2023
Team YQ3-S289Closed2023-11-21T10:45:40.0700000-06:0011/26/2023
Team YQ3-S289Closed2023-11-21T10:45:40.0700000-06:0011/27/2023
Team YQ3-S289Closed2023-11-21T10:45:40.0700000-06:0011/28/2023
Team YQ3-S289Closed2023-11-21T10:45:40.0700000-06:0011/29/2023
Team YQ3-S289Closed2023-11-21T10:45:40.0700000-06:0011/30/2023
Team YQ3-S289Closed2023-11-21T10:45:40.0700000-06:0012/1/2023
Team YQ3-S289Readynull11/1/2023
Team YQ3-S289Readynull11/2/2023
Team YQ3-S289Readynull11/3/2023
Team YQ3-S289Readynull11/4/2023
Team YQ3-S289Readynull11/5/2023
Team YQ3-S289Readynull11/6/2023
Team YQ3-S289Readynull11/7/2023
Team YQ3-S289Developnull11/8/2023
Team YQ3-S289Developnull11/9/2023
Team YQ3-S289Developnull11/10/2023
Team YQ3-S289Developnull11/11/2023
Team YQ3-S289Developnull11/12/2023
Team YQ3-S289Developnull11/13/2023
Team YQ3-S289Developnull11/14/2023
Team YQ3-S289Developnull11/15/2023
Team YQ3-S289Developnull11/16/2023
Team YQ3-S289Developnull11/17/2023
Team YQ3-S289Developnull11/18/2023
Team YQ3-S289Developnull11/19/2023
Team YQ3-S289Developnull11/20/2023
15 REPLIES 15
bgashok
Helper I
Helper I

Found the solution in another thread! thankyou for the support @lbendlin 

lbendlin
Super User
Super User

Please indicate the year values in your first table.

Have updated. 

see attached

it's not giving expected results, I want to share pbix file, but unble to upload it here.

 

Shall I share the table data here. it around 9K records?

 

 https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...

Please show the expected outcome based on the sample data you provided.

@lbendlin 

 

for Q2-S7 sprint  start date is 25 Oct and end date is 7 nov.

 on 25 oct:

TeamSprintWork Item IdStateClosed DateDate
Team YQ3-S176Readynull10/25/2023
Team YQ3-S151Newnull10/25/2023

 

on 7 Nov: 

TeamSprintWork Item IdStateClosed DateDate
Team YQ3-S176Closed2023-11-07T11:17:30.9030000-06:0011/7/2023
Team YQ3-S189Closed2023-11-07T11:17:30.9030000-06:0011/7/2023
Team YQ3-S289Readynull11/7/2023

 

 

Graph 1 = Y-axis : No. of work items in close state from the items present at start of sprint date (1 )/ total no of work items present at start of sprint date (2 - ignore if any closed task is presnt in count).  X-axis : Sprint name

= 1/2*100 = 50%

@lbendlin any help?

Did you find a way to share a sample pbix or Excel file?

I am unable to upload, as I am new user. not getting the options for me

Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).

Do not include sensitive information or anything not related to the issue or question.

If you are unsure how to upload data please refer to https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...

Please show the expected outcome based on the sample data you provided.

Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...

@lbendlin 

Graph 1: number of work items committed accepted (closed state) / (number of work items planned (closed state need to exlcuded)) e.g: 5/14*100 = 35.71 (only first 5 items are closed and rest of them are newly added)

(14 only items present on 25 Oct which are in not closed state, exclude close state for count) ref sheet 4

Graph 2: number of work items committed accepted (closed state) / (number of work items planned - number of committed work  items explicitly removed) 

 

Graph 3: number of work items added / number of committed work items e.g: 9/14 = 64.28

 

below is example of Q3 S1: start date on 25th Oct and end date on 7th Nov

google link:

https://docs.google.com/spreadsheets/d/1NkFs-BnPTnqacRuEtYg5BoSwPOgSzk3n/edit?usp=drive_link&ouid=11...

 

 

What is the significance of the [Date] column in the RRR table?

in RRR Table, Date reflects the workitem status on that particular day and would have all calender days for a durtion.

Currenly pulling report of all workitem status on each day for a specific duration, so that we know the historcal infomration of work items on that particalur day for creating graphs.

That seems excessive. Have you considered using change tracking instead?

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.