cancel
Showing results for 
Search instead for 
Did you mean: 
Vadim_Pidgornyi
Sisense Team Member
Sisense Team Member

Creating a Year-Over-Year Chart in Sisense

Summary

This article addresses the issue of creating a year-over-year comparing chart in Sisense that shows a Key Performance Indicator (KPI) for the current calendar year against the previous calendar year. The chart should display KPI data for the current year's months that have passed and the full previous year.

Main Content

Steps to Create a Year-Over-Year Chart

  1. Create a new normalized date column in the table where you have the date dimension. This can be done by duplicating the existing Date column and editing it.

Vadim_Pidgornyi_0-1717439745473.png
2.Use the following query to create a new date column:

 

Vadim_Pidgornyi_1-1717439745418.png

 

CREATEDATE(
GETYEAR(NOW()),
GETMONTH([Date]),
GETDAY([Date]) )

3. After creating the new column, proceed to the dashboard and create a line chart with the required dimension.

Vadim_Pidgornyi_2-1717439745424.png

4. Change the date formatting to "MMM" (or any desired format) and select the value you wish to compare.

Vadim_Pidgornyi_3-1717439745452.png

5. Add the original date dimension as a break by with year granularity.

Rate this article:
(1)
Comments
DRay
Community Team Member
Community Team Member

This is great! Thank you @Vadim_Pidgornyi!

Version history
Last update:
‎06-03-2024 11:41 AM
Updated by: