Zoho Analytics Seems to Forget Zoho Projects Data Structure

Zoho Analytics Seems to Forget Zoho Projects Data Structure

I am in a proof of concept with Zoho Projects and Zoho Analytics. Management wants to see how long tasks are with specific users in specific stages of a project. I came up with a query to give us a pseudotable (a view) which would neatly provide that information and more in Zoho Analytics. We can see at a rough level how user time is being spent on an issue, on a task, or in a stage of a project even though nobody is filling in timesheets.

Today the query no longer works. Analytics complained that Issues is not a valid column and told me to make it "Issues" if it contains a space. We only have one workspace and I'm definitely it, so it isn't that I've accidentally tried to run this in the wrong workspace.

On a hunch, I went to Data Sources. It looked like Zoho Projects was still okay there, but I synced with Zoho Projects.

When I tried the query again, that problem was gone but I got a new complaint:

Invalid column 'Stage' used in SELECT query.

I have not changed the data structure in Zoho Projects since the query worked, but it does not work any more. It's as though Zoho Analytics has forgotten about the data structure in Zoho Projects even though its daily fetches succeed. Why? How can I make it work again?

My query is:

SELECT "Projects"."Project Name" AS 'Project', "Issues"."Bug Title" AS 'Issue', "Tasks"."Task Name" AS 'Task', DATEDIFF(COALESCE("Tasks"."Completion Date", GETDATE()), "Tasks"."Created Time") AS "Days", "Tasks"."Time Spent So Far" AS 'Time So Far', "Tasks"."Stage" AS 'Stage', "Tasks"."Status" AS 'Status', "Tasks"."Completion Percentage" AS 'Completion', "Users"."User Name" AS 'Primary Owner', "Users"."User ID" AS 'User ID' FROM  (((("Users" JOIN "Tasks" ON "Tasks"."Owner IDs"  LIKE "Users"."User ID" ) JOIN "Projects" ON "Tasks"."Project ID"  = "Projects"."Project ID" ) JOIN "Issues" ON "Projects"."Project ID"  = "Issues"."Project ID" ) JOIN "Task Issues Mapping" ON "Issues"."Bug ID"  = "Task Issues Mapping"."Issue ID" ) WHERE 'User ID' NOT LIKE '184094000000031649' AND 'Primary Owner'  IS NOT NULL AND 'Primary Owner' NOT LIKE '%Unassigned%' ORDER BY 'Project', 'Issue', 'Task'


If someone will educate me about this, I will be grateful.

    Access your files securely from anywhere

        Zoho Developer Community




                                  Zoho Desk Resources

                                  • Desk Community Learning Series


                                  • Digest


                                  • Functions


                                  • Meetups


                                  • Kbase


                                  • Resources


                                  • Glossary


                                  • Desk Marketplace


                                  • MVP Corner


                                  • Word of the Day



                                      Zoho Marketing Automation
                                              • Sticky Posts

                                              • Announcing Zoho Analytics 6.0 Beta!

                                                We are delighted to open up the next major version, Zoho Analytics 6.0 Beta! The new version comes packed with a wide range of functionalities for all persona, namely business users, data analysts, data engineers, and data scientists. Zoho Analytics team
                                              • What's New in Zoho Analytics - August 2024

                                                Hello Users! We are back with the latest updates and enhancements made to Zoho Analytics. Keep reading to learn more about them. Connect to the data hosted in the cloud without allow-listing the IP addresses Utilize Zoho Databridge to connect to the data
                                              • We are coming to your city! Zoho Analytics Community Meetup

                                                Hello, business leaders and data enthusiasts! We are delighted to announce that registrations are now open for the ZUG meetups, and we can't wait for you to be a part of them. Our in-house analytics experts are geared up to lead discussions on constructing
                                              • Zoho Analytics: 2021 Look Back

                                                As we start a new year in 2022, here's some of our top moments from 2021. Zoho Analytics in 2021
                                              • [Customer Talk] PREMO Group's Analyst Interview at Zoho Day 2022

                                                Premo Group, a 50 year old Spanish Manufacturing Company, has been our long-standing customer with #ZohoAnalytics. They've been using our platform for their end-to-end, unified business analytics solution.  Hear more from Claudio Cabeza, Director at PREMO


                                              Manage your brands on social media



                                                    Zoho TeamInbox Resources

                                                      Zoho DataPrep Resources



                                                        Zoho CRM Plus Resources

                                                          Zoho Books Resources


                                                            Zoho Subscriptions Resources

                                                              Zoho Projects Resources


                                                                Zoho Sprints Resources


                                                                  Qntrl Resources


                                                                    Zoho Creator Resources



                                                                        Zoho Campaigns Resources


                                                                          Zoho CRM Resources

                                                                          • CRM Community Learning Series

                                                                            CRM Community Learning Series


                                                                          • Kaizen

                                                                            Kaizen

                                                                          • Functions

                                                                            Functions

                                                                          • Meetups

                                                                            Meetups

                                                                          • Kbase

                                                                            Kbase

                                                                          • Resources

                                                                            Resources

                                                                          • Digest

                                                                            Digest

                                                                          • CRM Marketplace

                                                                            CRM Marketplace

                                                                          • MVP Corner

                                                                            MVP Corner





                                                                              Design. Discuss. Deliver.

                                                                              Create visually engaging stories with Zoho Show.

                                                                              Get Started Now