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

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.

Reply
Anonymous
Not applicable

Recreate Excel line chart in Power BI

Hello, i have some difficulties doing the next thing in power BI, i hope some of you can help me.

I have a Power BI table which looks like this:

KeyProcess NamePlanned SprintStart DateEstimated End DateStatus
PR001x103-Aug-2010-Sep-20Done
PR002y103-Aug-2001-Oct-20Done
PR003z224-Aug-2010-Oct-20In progress
PR004w314-Sep-2017-Nov-20In progress
PR005q616-Nov-2021-Dec-20Not started

Today`s date: 31 Oct 2020 ; Actual processes completed: 2 (Status="Done") ; Planned=3 (estimated end date<today()) ; Total procceses planned=

 

I want to recreate a graph which will look like the one from below:

Its just an example made in excel of how i should aggregate the data from my Power BI table from above in order to obtain someting like this:

Screenshot_11.jpg

 

 

 

Thank

1 ACCEPTED SOLUTION
v-stephen-msft
Community Support
Community Support

Hi @Anonymous ,

 

Dummy Power BI model here.

 

Measure are as follows.

Total processes at the start = COUNTROWS('Sheet2')
Actual completed = CALCULATE(COUNTROWS('Sheet2'),FILTER('Sheet2',[Status]="Done"))
Actual Remaining = [Total processes at the start]-[Actual completed]
Planned  to be completed = CALCULATE(COUNTROWS('Sheet2'),FILTER('Sheet2',[Estimated End Date]<TODAY()))
Planned Remaining = [Total processes at the start]-[Planned  to be completed]

11.png

 

 

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

5 REPLIES 5
v-stephen-msft
Community Support
Community Support

Hi @Anonymous ,

 

Dummy Power BI model here.

 

Measure are as follows.

Total processes at the start = COUNTROWS('Sheet2')
Actual completed = CALCULATE(COUNTROWS('Sheet2'),FILTER('Sheet2',[Status]="Done"))
Actual Remaining = [Total processes at the start]-[Actual completed]
Planned  to be completed = CALCULATE(COUNTROWS('Sheet2'),FILTER('Sheet2',[Estimated End Date]<TODAY()))
Planned Remaining = [Total processes at the start]-[Planned  to be completed]

11.png

 

 

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

sanalytics
Solution Supplier
Solution Supplier

@Anonymous 

 

Dont understand your exact requiremnt .How do you calculate actual remaining and planned remaining .?
Can you please post some dummy data and exact requirement.It will help us to try.

Regards,

sanalytics

Anonymous
Not applicable

Hello @sanalytics ,

 

Here  is the link for both files(pbix and excel), you cand find all of the formulas in excel.

 

The actual remaining calumn contains the number of the processes with the status "Done" and the planned remaining counts all the processes with an end date before today`s date.

As a note: A sprint is an interval of time where processes can start and there are one or more processes assigned to a sprint.

 

Basically i`m trying to recreate that chart from excel into Power BI. 

 

Thanks for your time

@Anonymous 

The provided link for the files don't work.

________________________

If my answer was helpful, please consider Accept it as the solution to help the other members find it

Click on the Thumbs-Up icon if you like this reply 🙂

YouTube  LinkedIn

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

Anonymous
Not applicable

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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