Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
Julies
Contributor
Contributor

Need advice

I have 3 group data. I need to get Feb 2020 total from group 3 and the filtered date was 1/3/2020, it returns the filtered date month total if used the expression below, where went wrong?

Group:3

Date

Total

1/2/20

5

2/2/20

4

3/2/20

5

.

.

.

.

.

.

1/3/20

3

2/3/20

3

3/3/20

6

 

Sum({<[Date]={">=$(=(MonthStart(AddMonths(Max(Date),-1)))) <=$(=(MonthEnd(AddMonths(Max(Date),-1))))"}>}{$<Group={'3'}>}[Total])

Labels (1)
1 Solution

Accepted Solutions
anat
Master
Master

Sum({<[Date]=,[Date]={">=$(=(MonthStart(AddMonths(Max(Date),-1)))) <=$(=(MonthEnd(AddMonths(Max(Date),-1))))"}>}{$<[Date]=,Group={'3'}>}[Total])

 

can you try bypassing the date field

View solution in original post

2 Replies
anat
Master
Master

Sum({<[Date]=,[Date]={">=$(=(MonthStart(AddMonths(Max(Date),-1)))) <=$(=(MonthEnd(AddMonths(Max(Date),-1))))"}>}{$<[Date]=,Group={'3'}>}[Total])

 

can you try bypassing the date field

Julies
Contributor
Contributor
Author

Thanks so much, Anat