Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Creating Actionable Insights Using CRM Analytics

You're reading from   Creating Actionable Insights Using CRM Analytics Learn how to build insightful and actionable data analytics dashboards

Arrow left icon
Product type Paperback
Published in Dec 2021
Publisher Packt
ISBN-13 9781801074391
Length 368 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Mark Tossell Mark Tossell
Author Profile Icon Mark Tossell
Mark Tossell
Arrow right icon
View More author details
Toc

Table of Contents (19) Chapters Close

Preface 1. Section 1: Getting Started with CRM Analytics
2. Chapter 1: What Is CRM Analytics and Where Can You Use it? FREE CHAPTER 3. Chapter 2: Developing Your First OOTB Analytics App in CRMA 4. Section 2: Building Datasets in CRMA
5. Chapter 3: Connecting Your Data Sources 6. Chapter 4: Building Data Recipes 7. Chapter 5: Advanced ETL Using CRMA Data Prep 8. Chapter 6: CRMA Lenses – Diving into Your Data One Click at a Time 9. Chapter 7: Security in CRM Analytics 10. Section 3: How to Build Awesome Analytics Dashboards in CRMA
11. Chapter 8: Building Your First CRMA Dashboard 12. Chapter 9: Advanced Dashboard Design and Build 13. Chapter 10: To Code or Not to Code? 14. Chapter 11: Best Practices in Dashboard Design Using CRMA 15. Section 4: From Data To Insight To Action
16. Chapter 12: Embedding and Actioning Your Insights 17. Questions and Answers 18. Other Books You May Enjoy

Beginning with code – an introduction to SAQL

This section will introduce you to coding in CRMA using SAQL.

Definitions

We'll now look at detailed definitions regarding what SAQL is and when it can be used.

What is SAQL?

SAQL is a runtime query language that enables ad hoc analysis of datasets. A SAQL script consists of a sequence of statements that are made up of keywords (such as filter, group, and order), identifiers (IDs), literals, or special characters. It is JavaScript Object Notation (JSON)-based and Apache Pig Latin (PIGQL)-familiar. A SAQL query loads an input dataset, operates on it, and outputs the results.

Here is a SAQL example:

q = load "My_Dataset";
q = group q by 'Division_Name';
q = foreach q generate 'Division_Name' as 'Division_Name', sum('Amount')/sum('Quantity') as 'sum_Amt/Qty'; q = order q by 'sum_Amt/Qty' desc; 

What you see in the preceding...

lock icon The rest of the chapter is locked
Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Creating Actionable Insights Using CRM Analytics
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Modal Close icon
Modal Close icon