Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Talend Cloud AWS EU Scheduled Outage: Starting Tues 26 May 21:00 CEST with expected completion Wed 27 May 01:00 CEST
cancel
Showing results for 
Search instead for 
Did you mean: 
Lionel_Maximus
Contributor III
Contributor III

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"

12 Replies
Channa
Specialist III
Specialist III

there are two solutions i put

one when you select month and date

it give data for that month till the selected date

 

other one Monthstart date to today of the selected month

 

imposible share data

Channa
Channa
Specialist III
Specialist III

take that ZIP File everything is clearly done

 

use the APP

u can't even select month if no data

 

Channa
Lionel_Maximus
Contributor III
Contributor III
Author

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)