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

Announcements
We are aware of an issue with the Product Downloads page and looking into 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?

Labels (1)
3 Replies
swuehl
Champion III
Champion III

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
Champion III
Champion III

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