Alex Gertman
09/29/2022, 2:22 PMAlex Gertman
09/29/2022, 2:32 PMJan Soubusta
09/29/2022, 2:47 PMJakub Sterba
09/29/2022, 10:09 PMselect sum({fact/units})/100.00
Please note that SUM aggregation function is used if you drag a fact from catalog in Analyze and drop it into Metric bucket in insight configuration. This function can be changed to other functions. When you write a MAQL formula you have to use the aggregation function as well to tell the query engine how to reduce many facts in the dataset into a single number. This is needed also if you slice the metric by other attribute like AccountId because there can be many facts for one AccountId in the data. The aggregation function is not needed only if you display the fact with granularity of dataset.Productboard
09/29/2022, 10:13 PMAlex Gertman
09/30/2022, 5:40 PM