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

Announcements
Independent validation for trusted, AI-ready data integration. See why IDC named Qlik a Leader: Read the Excerpt!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Handling of different time dimensions

Hello all,

I have, according to me, a tricky question about how to cope with two different time dimensions.

I have this data in my only table:

OrderIdOrderDateOrderYearOrderMonthInvoiceDateSalesAmount
A2015-01-042015Jan2015-02-01100.000
B2015-11-152015Nov2016-01-3150.000
C2015-04-012015Apr2015-07-01200.000

The total sales amount is 350.000, no selections.

I select 2015 as my OrderYear. The total sales amount is still 350.000, with OrderYear = 2015 as my only current selection.

Now to my point: As I have chosen 2015 as OrderYear I would like to create an expression that presents SalesAmountThatWillBeInvociedThisYear e.g. order A and C with the total value of 300.000.

Is that possible through an expression/set analysis? Or should I mess around with my time dimensions in my data model? Of course I have a hundred thousands of records and this is just a simple example.

Have I made clear what I am trying to receive?

Thanks for possible solutions.

Best,

Filip

11 Replies
Anonymous
Not applicable
Author

Thanks for helping me find the blog post about the Canonical Date.
That helped on the way solving my problem.

sunny_talwar

Awesome

I am glad that finally you were able to solve your problem.