Locked lesson.
About this lesson
In this lesson, you'll learn how to create custom measures for your Visualizations.
Exercise files
Download this lesson’s related exercise files.
23 - Creating Custom Measures.docx60.4 KB 23 - Creating Custom Measures SOLUTION.docx
57.9 KB
Quick reference
Creating Custom Measures
In this lesson, you'll learn how to create custom measures for your Visualizations.
When to use
Use this whenver you need to create a custom measure.
Instructions
Click the caret next to any Measure, and then select create, then select "calculated field".
To create a custom count of 0-1,000 and 1,000-2,000 and 2,000+ :
IF COUNT([dog_data.csv]) > 2000 THEN "2,000+"
ELSEIF
COUNT([dog_data.csv]) > 1000 and COUNT([dog_data.csv]) < 2000
THEN "1,000-2,000"
ELSE
"0-1,000"
END
Hints & tips
- Click the caret next to any Measure, and then select create, then select "calculated field".
Lesson notes are only available for subscribers.