Forum Discussion
help with a simple burndown chart
- 8 years ago
- Anonymous8 years ago
AndreSatziack,
Create the following measures in your table and check if you get expected result.Burndown = IF([Total hours]=0 ||[Total hours]=BLANK(),BLANK(), 3200 - CALCULATE(SUM(Relatorio_Anual_2017[Hours]),FILTER(ALL(Relatorio_Anual_2017),Relatorio_Anual_2017[Created]<=MAX(Relatorio_Anual_2017[Created]))))
Burndown1 = IF([Total hours]=0 ||[Total hours]=BLANK(),BLANK(),3200-CALCULATE([Total hours],DATESYTD('Calendar'[Date],"31/12")))
Regards,
Lydia
Hello Anonymous,
How are you? Did you get a look at my example?
Thank you very much :)
Best Regards.
What is your expected result when you set the value to customer1 in visual level filters? And what type of trend line would you like to add?
Regards,
Lydia
- AndreSatziack8 years agoHelper I
Hello Anonymous,
Thank you for your help.
I resolved the filter problem removing the parameter ALL from FILTER Like "BurnDown = 180-CALCULATE(SUM(Relatorio_Anual_2017[Hours]),FILTER((Relatorio_Anual_2017),Relatorio_Anual_2017[Created]<=MAX(Relatorio_Anual_2017[Created])))"
Your DAX code show me results for each month with subtraction of 180.
I need to show the estimated date of finish hours based on an average of hours used in month like my sample in Excel. How will I calculate this?
Thanks in advance for any help. I'm still pretty new to Power BI so a lot of this escapes me for now.
- Ashish_Mathur8 years agoSuper User
Hi AndreSatziack,
What result are you expecting when you say "I need to show the expected date of finish........"?
- AndreSatziack8 years agoHelper I
Hello Ashish_Mathur,
The idea is that a client has a total of 180 hours per year that they can use. I have to calculate this burndown, using the logic that the client starts the year with 180 hours in january, but in february i have to use the resultant burndown from the hours consumed in january instead of 180. I am having difficulties on coding this logic. With that then I will need to show a graph with a trend line.
Thank you very much.