In this tutorial, we will guide you on how to automatically calculate component end dates and transpose them onto a calculated list field, displaying them in a quarter-based format (e.g., Q1 2020, Q2 2020, etc.). This method can be applied to various areas, such as applications, initiatives, and technology. By following these steps, you will be able to create a roadmap for any component with a date range outside of the timeline view easily and without manual input.
Step-by-Step Guide:
Create a Calculated List Field:
Open your workspace which has components with the end dates.
Create a new calculated list field (we will refer to this as "Quarter-Year" field).
Prepare the Quarter-Year Data in Excel:
Open Microsoft Excel or a similar spreadsheet program.
In the first column, create a list of records ranging from Q1 2020 to Q4 2030 (you can adjust the range according to your needs).
Select all the cells containing the quarter-year values, copy them to your clipboard.
Import the Quarter-Year Data to the Calculated List Field:
Return to the Ardoq app.
Select the "Quarter-Year" calculated list field.
Paste the quarter-year values from your clipboard into the field (you can paste all values at once, not one by one).
Implement the Gremlin Query for Automatic Calculation:
In your Ardoq instance, click Create & edit query.
Copy the provided Gremlin Query below:
getYear = {return it.split('-')[0]}getMonth = {return it.split('-')[1]}getQuarter = { month = getMonth(it) if(month == '01' || month == '02' || month == '03') return 'Q1'; if(month == '04' || month == '05' || month == '06') return 'Q2'; if(month == '07' || month == '08' || month == '09') return 'Q3'; if(month == '10' || month == '11' || month == '12') return 'Q4'; }g.V(ids). has('live_end_date'). project('id', 'name', 'value'). by(id). by('name'). by(values('live_end_date').map{getQuarter(it.get()) + ', ' + getYear(it.get())})
Paste the Gremlin Query into the Gremlin Query Engine and execute it. This will automatically calculate the component end dates and assign them to the corresponding quarter-year values in the "Quarter-Year" calculated list field.
Verify the Results in Component Matrix View:
Go to the Component Matrix view in Ardoq.
Check if the calculated "Quarter-Year" field has been populated with the correct quarter-year values.
If the quarter-year values have been assigned correctly, proceed to configure the Component Matrix view by adding the "Quarter-Year" field as a column.
Adjust any additional settings in the Component Matrix view to suit your needs, such as sorting, grouping, or applying conditional formatting based on the quarter-year values.
Share the Roadmap with Stakeholders:
Once you have successfully configured the Component Matrix view with the "Quarter-Year" field, you can now share the roadmap with stakeholders.
Add the Component Matrix view to a Presentation to share with your team or stakeholders.
Use the roadmap to facilitate discussions around project timelines, resource allocation, and strategic planning.
These steps should help you create an automatically calculated, quarter-based roadmap for your project components. The roadmap can help you easily keep track of end dates without manual input and have a clear overview of your project's progress across various areas like applications, initiatives, and technology.