Segments
Overview
A Cube is needed to create segments. By choosing dimensions and measures on your cube, segments can be created. Dimensions are used to bucket or group the measures for e.g. by country, city, and region. There can be multiple dimensions in a cube, say for example, like total sales by a country, top 10 users by sum of sales, etc. Here total sales is a measure, country is a dimension. By choosing country as dimension we can see the total sales by a country. In this way, we can create multiple segments. Basically segment is a report that gives deep analysis on particular dimension.
The page lists all the segments that have been created by you and other team members.
My Segments tab Lists all segments owned by you.
Shared with me tab Lists all the segments (identified by the owner field).
Segment View
The page lists the result of the latest job run on your segment report. The segment report can be scheduled thereby relieving you for running the same report again and again. You can schedule segment report for your daily, weekly or monthly reports.
Email button
Report through Emails to your team members. Email can be scheduled daily, weekly or monthly.
Save button
Save changes made to the chart options.
Segment Edit
This page provides the ability to modify your existing segment reports by adding or removing dimensions or measures, re running report again or schedule the segment report for auto run.
Save And Run
After you are done editing your report click this button to get the latest results. A new job is launched and results are available in the result view below.
Auto-Run
Schedule segment report. The segment report will run every night at scheduled time of 00:30 AM. Users with Developer role can change the default schedule.
Save
Save your changes. Job is not run in this case and only measures and dimensions are saved.
Cube
Select a cube to prepare a segment report. Selecting a cube will list the dimensions and measures within that cube.
Filter
Restrict the data that is aggregated further by choosing appropriate filters on the dimensions.
Jobs
For every run of your segment query, a job is launched against your cluster. A job has a state of Queued, Running, Success, Failed and Cancelled. To see the results of Job, click Show. You can also see the results of the last 3 successful jobs run by choosing the job and click Show. The reason for last 3 failed jobs are also listed.
Result
The results of the job are displayed as a data table. You can download the result as a CSV file also.