Knowledge Base
cancel
Showing results for 
Search instead for 
Did you mean: 

Knowledge Base Articles

Part 2: Understanding The NVL/COALESCE Expression

Now, on to the second part of our journey with the NVL/Coalesce Expression!Coalesce Expression & Return TypesWhen a Coalesce/NVL expression is applied, all inputs/arguments should be the same datatype, as the Coalesce function will return the first n...

intapiuser by Community Team Member
  • 794 Views
  • 0 comments
  • 0 kudos

Window Functions!

Window Functions are a great way to analyze your data in a different way! Similar to other calculation statements in SQL, window functions allow you to do a calculation across a set of rows or columns. The difference is with window functions the dat...

intapiuser by Community Team Member
  • 2065 Views
  • 0 comments
  • 0 kudos

Sorting Stacked Proportional Bar Charts By Magnitude

By default in many charting libraries and tools, series within stack bars are arranged in the same order. Looking at the image below, blue is above orange, which is above green, which is above purple.But let's say we want these series within each bar...

intapiuser by Community Team Member
  • 1922 Views
  • 0 comments
  • 0 kudos

Conditional Formatting For Rows With Similar Results

So you have a table neatly ordered by users, you proudly present it to your boss, waiting for the praise, but you forgot: She’s desperately near-sighted! How can she tell when the user_id changes without having to stress her eyes? If only there was a...

intapiuser by Community Team Member
  • 914 Views
  • 0 comments
  • 0 kudos

Using Python To Plot Only The Rolling Average Line

Want to show a rolling average to your data? Using the Sisense for Cloud Data Teams Python / R integration, we can accomplish this with a single line of Python code.   Here are the first few rows of our SQL output - a list of dates with the numbe...

intapiuser by Community Team Member
  • 1417 Views
  • 0 comments
  • 0 kudos

Radial Bar Chart With Pending Pipeline

Radial bar charts are a great way to visualize progress charts - but sometimes it's helpful to be able to visualize that progress with the additional context of more pipeline as well.Input: you will need to provide the chart maker function with at le...

intapiuser by Community Team Member
  • 535 Views
  • 0 comments
  • 0 kudos

Your Guide To Multivariate Linear Regressions In R

Once you’ve gotten familiar with bivariate linear regressions (one explanatory variable, and one response variable), you may want to delve into seeing how multiple explanatory variables contribute to your response. Not sure how to get started? Well ...

intapiuser by Community Team Member
  • 2838 Views
  • 0 comments
  • 0 kudos

Transposing Tables In R And Python

Transposing a dataframe in R is as simple as 2 quick lines of code. The first is to actually transpose the table, and the second is to name your column headers.   Below is the dataframe we will be transposing. This is pulled from using the head() co...

intapiuser by Community Team Member
  • 2997 Views
  • 0 comments
  • 0 kudos

Prompt Users To Enter A Filter Value

Oftentimes we want our end users to select a filter in order to use a dashboard. One of the ways we can do this is by building it into then chart SQL, as shown below: select case when '[source_test|default]' = 'default' then 'Please s...

intapiuser by Community Team Member
  • 577 Views
  • 0 comments
  • 0 kudos

[Customer Contribution] Stars For Ratings

This post is from one of our customers!This post is from one of our customers!Use this case statement in a snippet with a rating parameter to change numerical ratings to stars:case when ROUND([rating]) = 5 then '★★★★★' when ROUND([rating]) = ...

intapiuser by Community Team Member
  • 347 Views
  • 0 comments
  • 0 kudos

[Customer Contribution] NPS

This post is from one of our customers!Some handy snippets for calculating NPS and accuracy. [nps] ((promoters/total ) - (detractors/total))[nps_var] ((1 - [NPS]) ^ 2 * promoters/total + (0 - [NPS]) ^ 2 * neutral/total + (-1 - [NPS]) ^ 2 * detractor...

intapiuser by Community Team Member
  • 322 Views
  • 0 comments
  • 0 kudos

Up Arrow Or Down Arrow For KPIs

Use this case statement to add up and down arrows to your metrics, for instance:case when [value_field] < lag([value_field]) over(order by [order_field]) then '▲ ' when [value_field] = lag([value_field]) over(order by [order_field]) t...

intapiuser by Community Team Member
  • 574 Views
  • 0 comments
  • 0 kudos

Un-Correlating Correlated Subqueries

A correlated subquery is a subquery that references a field from a table that is not included within the subquery. In other words, there are references to the "outer" query in the "inner" query. Correlated subqueries are not only computationally inef...

intapiuser by Community Team Member
  • 978 Views
  • 0 comments
  • 0 kudos

Creating A Split Funnel Chart In R

Funnel charts are a common way to visualize conversion for various stages in a business process.Sometimes, it could be interesting to visualize a funnel split by demographic - I recommend just limiting the split to two groups - anything more and the ...

intapiuser by Community Team Member
  • 2336 Views
  • 0 comments
  • 0 kudos

Using R To Plot Only The Rolling Average Line

Want to show a rolling average to your data? Using the Python / R integration, we can use a few quick lines in R to accomplish this.   Here are the first few rows of our SQL output - a list of dates with the number of users created on a fictional ga...

intapiuser by Community Team Member
  • 1090 Views
  • 0 comments
  • 0 kudos

Percentile Curves -- Another Way To Show Distributions

Note: This solution requires Sisense for Cloud Data Teams' Python/R integration   Let's say you have data set that is heavily skewed, like this hypothetical data set here plotting the amount users paid on a fictional gaming app. As we can see h...

intapiuser by Community Team Member
  • 2961 Views
  • 0 comments
  • 0 kudos

Table Of Contents

We've found here at Sisense that it's often very helpful to have the default dashboard on a site include a table of contents for even quicker navigation to key dashboards, or even a table of hyperlinks to offer a smooth transition between Sisense for...

intapiuser by Community Team Member
  • 466 Views
  • 0 comments
  • 0 kudos
Labels