Forum Discussion
Goal Visual Pt 2
Hi!
I'm hoping to build a visual that tracks how well my client is meeting their goal. TI have a row of data with a list of ID's and dates the ID had a code inputted. My data looks similar to below. I know how to make a constant line to show where my goal is, but I'd like to show over time how many ID's had their code inputted compared to how may I needed inputted in the beginning. So January 2020 had 6 ID's inputted, so I had 25 leftover by the end of January 2020 without the dates. Does anyone here by any chance know what DAX formula I would need to build up my chart? VijayP so helpfully created a cumulative visual yesterday here, but I would like to go backwards this time. So in this case, I had 31 ID's in total in the beginning, and I would like to show how long it is taking my client to input the remaining ID's. I'd like all 31 ID's to have dates in the end, which will be future dates. I hope this makes sense, but please let me know if it doesn't.
| ID | Date |
| 1 | 1/20/2020 |
| 2 | 1/20/2020 |
| 3 | 1/20/2020 |
| 4 | 1/20/2020 |
| 5 | 1/20/2020 |
| 6 | 1/20/2020 |
| 7 | |
| 8 | |
| 9 | |
| 10 | 2/3/2020 |
| 11 | 2/4/2020 |
| 12 | 2/5/2020 |
| 13 | 2/6/2020 |
| 14 | 2/7/2020 |
| 15 | 2/8/2020 |
| 16 | 2/9/2020 |
| 17 | |
| 18 | |
| 19 | |
| 20 | 4/2/2020 |
| 21 | 4/2/2020 |
| 22 | 4/2/2020 |
| 23 | 4/2/2020 |
| 24 | 4/2/2020 |
| 25 | 4/2/2020 |
| 26 | 4/2/2020 |
| 27 | 4/2/2020 |
| 28 | 4/2/2020 |
| 29 | |
| 30 | |
| 31 |
- Anonymous5 years ago
Actually, I got it from combining your answer with another formula!
CALCULATE(COUNTROWS(DATA), ALLSELECTED(DATA))-CALCULATE(COUNT(data[Date]),FILTER(ALL(data),data[Date]<=MAX(data[Date])))
8 Replies
- amitchandakSuper User
Anonymous , the expected output is not clear.
- AnonymousNot applicable
Hi amitchandak , thanks for responding! I'd essentially like to show the opposite of the cumulative chart. So I'd start off with 31 in the beginning of January 2020, moving to 25 in the end of January 2020 (6 ID's created with January 2020 dates), then 18 by the end of February 2020. I'd eventually like all codes to have their dates filled. Hopefully that makes better sense!
- AnonymousNot applicable
To give a better idea, I'd like to make a chart similar to this, so in the end I'd have 18 ID's remaining without dates.
- VijayPCommunity Champion
Anonymous
To get the future Dates you need to have an assumption How long they may take and what are the trigger points to input the Code by customer. Based on that we can forecast the date when approximately the user going to input the date and we can create a custom column in Power Query