How to check two dates and the [total] value on each date to set a color rule

I want to check my date column.  In the [date] column I want to check between - today's date and yesterdays date.  I want to check if the [total] from yesterday is smaller or bigger than todays.  Also, this needs to be PER [location] column and per [ category] column:

Tiger1_0-1655758665236.png

 

 

Solved Solved
0 4 53
1 ACCEPTED SOLUTION

I guess you'd need to compare the two totals rather than "combine" them. So you'd use < and > to compare the calculated totals. 

View solution in original post

4 REPLIES 4

  1. Create a slice for today's records.
  2. Create a slice for yesterday's records.
  3. Then:  Re: FAQ: FILTER(), LOOKUP(), MAXROW(), MINROW(), R... - Google Cloud Community  

How do I combine the two slices to create the color rule I need?  I need color "red" if yesterdays total was less than todays.  I need "green" if yesterdays totals were more than todays.

I guess you'd need to compare the two totals rather than "combine" them. So you'd use < and > to compare the calculated totals. 

How do I compare slices?  Would these need to be virtual columns?

Top Labels in this Space