
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Month To Day Sales
Hello,
I have four months of sale.......I have a filter-pane with Months and Days in it.
What I want:
When i select Any Day in the filter pane......It should show the sales in every month till that day. How to do it???
Thanks
"Sample Data Is Attached"
- « Previous Replies
-
- 1
- 2
- Next Replies »
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank You All.
The Sloution is :
Previous Month Sale:
Sum({1<Month={'$(PreMonth)'},Day={"<=$(MaxDay)"}>}Sales)
PreMonth = =Month(Max(VDate)) -1
Current Month Sale:
Sum({1<Month={"$(=Max(Month))"},Day={"<=$(MaxDay)"}>}Sales)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
u have 2 filter panes with 2 fields? Days and Month?
Or one filter pane with one field? Day-Month?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have 2 Filter Panes with fields.....Month & Day

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
=Sum({$<[Ship Date]={">=$(MonthStart(passselcted month))<$(=monthend(passselcted month)"}>}Sales)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi I attach qvf
it has two dates try to have date between those 2 dates
start date of selected month
=MonthStart(max(Date))
today of selected month
=date(num(Month(max(Date)))&'/'&day(today())&'/'&year(max(Date)))
create those two variables and take date between those

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
sum({<Month, Day={"<=$(=max(Day))"}>}Value)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
1st wile loading date just do date(Date) as DateS
2nd create variable vMonthStart
=MonthStart(max(DateS))
3rd create variable to get current date vCurrentDate
=date(num(Month(max(DateS)))&'/'&day(today())&'/'&year(max(DateS)))
4th add below in test box
=Sum({$<DateS = {">=$(vMonthStart)<=$(vCurrentDate)"}>}Sales)
it is working i am not able to attach qvf

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
the above solution will take today of selected month
if you want to pass selected date just pass date into vCurrentDate=DateS

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
try the sample attached

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Thank you for the solution but it is giving the wrong answer.....e.g. I don't have the sales in Sep,Dec but when i select either one of those it gives me sale.

- « Previous Replies
-
- 1
- 2
- Next Replies »