+ Start a Discussion
Dan Albrecht 5Dan Albrecht 5 

SAQL Ratio Calculations

Hello Developer Community.  I need some help.  

I need to be able to calculate a ratio in Einstein Analytics using SAQL.

Here is what I am looking to do.

1. Calculate the number X Leads (Total number from filtered list)
2. Calculate the number of Y Leads (Total Number from filterd list)
3. Calculate the number of Z Leads (Total number from filtered list)

Then tie it all together in a ratio %.  The ratio is put together by: (X + Y) / Z

If anyone can help me to understand how to do this, I would be greatly appreciated.