Hello all!
I have a table with a Date/Time collumn [Date] and I'm trying to create a slice to show only the rows from the previous month. For example, when viewing the app in April (from April 1 to April 30) the slice will show only the rows with[Date] values between March 1 and March 31 of the current year.
Could anyone point me in the righr direction to create this slice, please?
Solved! Go to Solution.
IF(
MONTH(TODAY())=1,
AND(12=(MONTH([Date])),Year(TODAY())-1=YEAR([Date])),
AND((MONTH(TODAY()))-1=(MONTH([Date])),Year(TODAY())=YEAR([Date]))
)
User | Count |
---|---|
33 | |
11 | |
3 | |
2 | |
2 |