Advanced Analytics for Zoho Projects now supports the "Tags" module. This enables you to create reports over the Tags in Tasks, Bugs, Milestone, Projects and Timesheet modules. This week let's see how to create a report over your Tags data.
You may have multiple tags for each item. All these tags will be imported into a single column as a comma separated values in Zoho Analytics table. You need to separate these into distinct value using the below formula.
substring_count("Tag ID",',')+1 |
SELECT "Task ID" 'ID', cast(SUBSTRING_INDEX(SUBSTRING_INDEX("Tasks"."Tag ID", ',', -("Tasks"."Tags Count" -"Maximum Tags count"."Number")), ',', 1) as char (500)) as "Tag ID", 'Tasks' as 'Type' FROM "Tasks" JOIN "Maximum Tags count" ON "Tasks"."Tags Count" > "Maximum Tags count"."Number" UNION ALL SELECT "Bug ID" 'ID', cast(SUBSTRING_INDEX(SUBSTRING_INDEX( "Bugs".Tag ID", ',', -("Bugs"."Tags Count" -"Maximum Tags count"."Number")), ',', 1) as char (500)) as "Tag ID", 'Bugs' as 'Type' FROM "Bugs" JOIN "Maximum Tags count" ON "Bugs"."Tags Count" > "Maximum Tags count"."Number" UNION ALL SELECT "Project ID" 'ID', cast(SUBSTRING_INDEX(SUBSTRING_INDEX("Projects".Tag ID", ',', -("Projects"."Tags Count" -"Maximum Tags count"."Number")), ',', 1) as char (500)) as "Tag ID", 'Projects' as 'Type' FROM "Projects" JOIN "Maximum Tags count" ON "Projects"."Tags Count" > "Maximum Tags count"."Number" UNION ALL SELECT "Milestone ID" 'ID', cast(SUBSTRING_INDEX(SUBSTRING_INDEX("Milestones".Tag ID", ',', -("Milestones"."Tags Count" -"Maximum Tags count"."Number")), ',', 1) as char (500)) as "Tag ID", 'Milestones' as 'Type' FROM "Milestones" JOIN "Maximum Tags count" ON "Milestones"."Tags Count" > "Maximum Tags count"."Number" UNION ALL SELECT "Log ID" 'ID', cast(SUBSTRING_INDEX(SUBSTRING_INDEX("Timesheets"."Tag ID", ',', -("Timesheets"."Tags Count" -"Maximum Tags count"."Number")), ',', 1) as char (500)) as "Tag ID", 'Timesheets' as 'Type' FROM "Timesheets" JOIN "Maximum Tags count" ON "Timesheets"."Tags Count" > "Maximum Tags count"."Number" |
Now you can create insightful reports over the above query table. The following are a few examples.
Follow the below steps to create the Top 10 Tags in the Tasks Module chart.
Create a new chart over the Tags Consolidation query table.
You can also create similar reports over other modules such as Bugs, Milestone, Projects and Timesheet by changing the corresponding column.
Writer is a powerful online word processor, designed for collaborative work.