Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
I’m trying to add a stacked bar chart visual which provides a count of the number of projects per month which meet certain planned milestones dates. If the date falls within that month, I want to add 1 to the count for that particular month.
Example dataset which contains the same fields as my real table below. Also provided an example of the visual I’m looking to achieve.
How am I best to try and achieve this within PowerBI please?
Thanks again,
Dataset | ||||
| GW1 Paper Completion Planned | GW2 / Award Paper Draft Target Complete | GW3 Draft Target Complete | Contract Signed/Project Completion Date (Planned) |
Project A | 22/05/2021 | 30/07/2021 | 12/09/2021 | 20/11/2021 |
Project B | 20/09/2021 | 01/02/2022 | 22/02/2022 | 30/05/2022 |
Project C | 18/06/2021 | 19/06/2021 | 15/09/2021 | 11/10/2021 |
Formatted table in order to create visual above in excel
| GW1 | GW2 | GW3 | Contract Signed |
May-21 | 1 |
|
|
|
Jun-21 | 1 | 1 |
|
|
Jul-21 |
| 1 |
|
|
Aug-21 |
|
|
|
|
Sep-21 | 1 |
| 2 |
|
Oct-21 |
|
|
| 1 |
Nov-21 |
|
|
| 1 |
Dec-21 |
|
|
|
|
Jan-22 |
|
|
|
|
Feb-22 |
| 1 | 1 |
|
Mar-22 |
|
|
|
|
Apr-22 |
|
|
|
|
May-22 |
|
|
| 1 |
Solved! Go to Solution.
Hi @stokidez ,
Try to rename your columns in Power Query Editor, then select Project column and right-click to select opyion "Unpivot Other Columns".
Your date will be displayed as shown in the image blow, then create a visual.
If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @stokidez ,
Try to rename your columns in Power Query Editor, then select Project column and right-click to select opyion "Unpivot Other Columns".
Your date will be displayed as shown in the image blow, then create a visual.
If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.