Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
venkat1
Creator II
Creator II

i wan to show yesterday sales in pivot table and having from and to calendar

Hello All,

How to show a pivot table with yesterdays report default , and should also work accordingly to the from and to calendar. 

3 Replies
HirisH_V7
Master
Master

please be more elaborate with u r requirement. with some example.

HirisH
“Aspire to Inspire before we Expire!”
venkat1
Creator II
Creator II
Author

There was an  pivot table,and year month quarter selections,without doing any selections in pivot table should display yesterdays sales,by changing the selections of year,month and quarters values in the pivot table should change accordingly.

Anil_Babu_Samineni

Perhaps this?

If(GetSelectedCount(Month)=0 and GetSelectedCount(Year)=0 and GetSelectedCount(Quarter)=0, Sum({<DateField = {"$(=Date(Max(DateField-1, 'Date Format of Date Field')))"}, Sum(Sales))

Or, If any one the above selections need to reflect use Or condition like

If(GetSelectedCount(Month)=0 or GetSelectedCount(Year)=0 or GetSelectedCount(Quarter)=0, Sum({<DateField = {"$(=Date(Max(DateField-1, 'Date Format of Date Field')))"}, Sum(Sales))

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful