Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Segment on percentages

Avatar

Level 3

Is there a way to segment on percentage values? Use case: I have a column with visits. I right click on it and choose Compare time periods -> prior month. As a consequence a third column appears automatically, alongside the new period compare column, showing the percentage change in the metric over the period. 

 

I would like to segment the table data by only showing rows in which the percentage change has been greater than 30%. How can I accomplish that?

1 Accepted Solution

Avatar

Correct answer by
Community Advisor
6 Replies

Avatar

Correct answer by
Community Advisor

Avatar

Level 4

One option is to wrap the metric in both if and greater than functions, so that if percentage is greater than 30, return the percentage, else return zero.  You can then set the column settings to not show a value for 0.  This won't eliminate the other rows, but make it clearer to users about which meet that condition.

Avatar

Level 3

OK, that sounds interesting. OK, I found out how to edit the percentages. Need to make sense of the functions now. Greater than seems to only compare two different metrics. Need to investigate more. 

You can put the percent difference calculated metric within the greater than field.