Hello All,
I need a Help for creating a chart with two date and one Category Variable in sas va viya.
Thanks
Some sample data and an image what the chart should look like, would help.
thank you for Reply,
I have tried Schedule chart which is not fulfilled my requirement.
Hello @mahadeep2627
Two things first.
I know you turned down Schedule chart, but may I give you two sample images that showcase how it can be used to deliver pretty much the same information you had.
Best regards,
Petri
Yes,
So the object is Schedule chart and the roles are as follows:
- Task: Components
- Start: Start Date i.e. calculated item using function DateFromMDY(10, 12, 2019)
- Finish: Date
- Lattice columns: Type
To get this done I had to restructure the data like this:
Components | Type | Date |
c1 | Target | 10.1.2020 |
c2 | Target | 15.2.2020 |
c3 | Target | 21.3.2020 |
c4 | Target | 26.4.2020 |
c5 | Target | 1.2.2020 |
c1 | Actual | 10.3.2020 |
c2 | Actual | 15.5.2020 |
c3 | Actual | 10.3.2020 |
c4 | Actual | 12.4.2020 |
c5 | Actual | 12.4.2020 |
The chart on the right uses data aligned like this:
Components | Target | Actual |
c1 | 10.1.2020 | 10.3.2020 |
c2 | 15.2.2020 | 15.5.2020 |
c3 | 21.3.2020 | 10.3.2020 |
c4 | 26.4.2020 | 12.4.2020 |
c5 | 1.2.2020 | 12.4.2020 |
Brgds,
Petri
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
See how to use one filter for multiple data sources by mapping your data from SAS’ Alexandria McCall.
Find more tutorials on the SAS Users YouTube channel.