Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
evansabres
Specialist
Specialist

Different Time Ranges

I have sales data for several 'seasons'

There is a [Transaction Date] for each ticket sold.

What I want to do is have a time range of 0 - 100% to compare ticket sales across various seasons.

Is this possible?

3 Replies
swuehl
MVP
MVP

Something like

LOAD

     (TransactionDate - SeasonStartDate) / (SeasonEndDate - SeasonStartDate) as Percentage,

     ...

??

evansabres
Specialist
Specialist
Author

Stefan -

Thank you. Question here would be that each season has a different start and end date, how would I account for that?

swuehl
MVP
MVP

Map your Transaction dates to the season date ranges.

For example, using IntervalMatch LOAD prefix or a mapping approach.

IntervalMatch

Don't join - use Applymap instead