Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

Announcements
QlikView Fans! We’d love to hear from you.
Share your QlikView feedback with the product team… Click here to participate in our 5-minute survey.
Rules, plus terms and conditions, can be found here.
Not applicable

Retail Sales Comparison- Like to Like Week Day

User Criteria :

Week :always starts on Friday and end on Thursday.

Store Closed Sat and Sun

Compare Current Year Week1 - Prior Year Week1

If Current Year Week 1 has 3 days of sales and Prior Year Week 1 has 5 days of sales then It should return only 3 days of sales

Week 1   Current Year   Prior Year 

mon         100                   100

Tue           100                   100

Wed            0                     100

Thur            0                     100

Friday         100                  100

It has to compare Mon , Tue and Friday.

Table:

TransactionDate

Store

Sales Amount

Thanks

Community Browser