cancel
Showing results for 
Search instead for 
Did you mean: 

How to get yesterday data

Former Member
0 Kudos

Hi,

We have a report where we get data for complete current month with day -1.As listed below how to get yesterday’s data in Total under “Active Base_Count” column.

Please suggest.

DateSubscription_CountActive Base_Count
4/24/20163010
4/25/20162015
4/26/20161018
Total6018

Thanks

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Shekar,

You can use the below formula :-

=Sum(If ( [Date] = (Max([Date]) ForAll([Date])) ) Then [Active_Count] Else 0)

Former Member
0 Kudos

You can also use Last([Active_Base_Count]) to achieve the same.

Former Member
0 Kudos

Thanks

Kashif, it worked

Former Member
0 Kudos

Cool. You can mark the question as answered to close loop.