Dashboards are excellent for monitoring known metrics. But true competitive advantage often comes from answering novel, complex questions that you haven’t thought to track before. This is the job of the Universal Query Language (UQL).This guide moves beyond basic filtering. It will teach you how to use UQL to perform calculations, traverse relationships between
🧊 Objects
, and query data across your entire workspace. You will learn to ask—and answer—your most powerful business questions.Recap: The Anatomy of a UQL Query
A basic UQL query has three parts:SELECT
(what fields to show), FROM
(which 🧊 Object
to look in), and WHERE
(the conditions to filter by).
Performing Calculations with Functions
UQL includes powerful aggregate functions to perform calculations on your data directly, without needing to export to a spreadsheet.COUNT: How many deals did we win last month?
The
COUNT()
function totals the number of 🧊 Objects
that match your criteria.SUM: What is the total value of all active projects?
The
SUM()
function adds up the values in a specific numeric field.AVG: What is the average value of our won deals?
The
AVG()
function calculates the average of a set of numbers.Traversing Relationships: Querying Across Connections
The real power of UQL begins when you query acrossObject Connections
. You can use dot notation (connectedObject.fieldName
) to filter based on data from a related 🧊 Object
.
Business Question: “Show me all active projects for clients from the ‘Hospitality’ industry.”
This requires looking at the Project
🧊 Object
but filtering based on a field in the connected Client
🧊 Object
.
client.industry
part of the query seamlessly traverses the Object Connection
to access the data you need.
The Ultimate Power: Cross-Function Queries
Because Luklak is a unified platform, UQL can query across your entire workspace. This allows you to answer questions that are impossible for siloed systems. Business Question: “For all projects that entered theCONSTRUCTION
phase last month, what was the name of the original salesperson who won the deal?”
This question requires data from both the Project Delivery
📋 Function
and the Sales & CRM
📋 Function
.