Row filter for today's month

Hi, I’m new to AppSheet and I need help with Expressions:

I’m trying to create a Slice that will only filter data from the current month.
In the data table I also have data from 2019 so I used this Expression:

YEAR([Date]) = YEAR(TODAY()) && MONTH([Date]) = MONTH(TODAY())

For some reason it does not work…

I would appreciate your help,
Yehuda.

Solved Solved
0 3 275
1 ACCEPTED SOLUTION

@Yehuda_Bruck
Your expression’s syntax is not correct. It shall be:

AND(
    YEAR([Date]) = YEAR(TODAY()),
    MONTH([Date]) = MONTH(TODAY())
)

View solution in original post

3 REPLIES 3

Steve
Platinum 4
Platinum 4

Try:

(EOMONTH([Date], 0) = EOMONTH(TODAY(), 0))

See also:

@Yehuda_Bruck
Your expression’s syntax is not correct. It shall be:

AND(
    YEAR([Date]) = YEAR(TODAY()),
    MONTH([Date]) = MONTH(TODAY())
)

Steve
Platinum 4
Platinum 4

&& is not a thing in AppSheet. Instead:

Top Labels in this Space