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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Index keys.

Here is my load statement. I want to normalize the data with a primary index key. 


Load AccountNumber,

AccountNamr

FiscalYearStartDate

BillStartDate

from

account.qvd;


From there I want to show:


AccountNumber 1

AccountName - XYZ

BillStartDate - 1/1/2013

FiscalYearStartDate - 7/1/2012

Month(FiscalYearStartDate) as Month - 7

Month Index 1 since 7/1/2012 is the FiscalYearStartDate


AccountNumber 2

AccountName - ABC

BillStartDate - 2/1/2013

FiscalYearStartDate - 8/1/2012

Month(FiscalYearStartDate) as Month - 8

Month Index 1 since 8/1/2012 is the FiscalYearStartDate


Does this make since?  Can this be done.


David

Labels (1)
2 Replies
rwunderlich
MVP
MVP

If I'm following correctly, you can add:

1 as [Month Index]

or am I misunderstanding?

-Rob

Not applicable
Author

as my understood

date(BillStartDate,'MM') as [Month Index]

correct ?????