Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
donald_desko
Contributor
Contributor

Allocating ID to sales in a range

Hi all,

I'm playing with some play data to see if I can create the following table and attribute an ID for each specific period.
E.g, I have sales data where I can see the quantities sold on each date, for example, 29/06/2020 in this.
This falls inside of period P01, however, how can I allocate the key of 'Period' when it falls within a specifed range.

E.g, any sale made between 29/06/2020 -> 19/07/2020 would have 'P01' as the period column and so on?
I have attached some dummy data.

Thanks,

Don

Labels (4)
1 Reply
Andrew_Delaney
Support
Support

This sounds like something you should be able to include in your master calendar. You can watch this video to find out more about setting one up.