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: 
arixooo123
Creator III
Creator III

How to apply the changes made in data source to Qlikview Docs

My qlikview document has a Access Source, I like to add year attribute to the Table. also i must add the data of first quarter of 2014 to the table.

the question is how to apply these changes to QlikDoc?

Should i just reload? or there are other extra steps involved?

Thank you in advance

1 Solution

Accepted Solutions
Not applicable

Hi arman,

From the Source table if u have your Date field Present then you required to create MasterCalendar with resident table from source table.In new table you can able to create your Date ,Year, Q1,Q2,Q3,Q4 field which helpful for your application further.

In Scirpt level you may follow below steps:

SourceTbl:

Load

otherFields,

DateField

SourceFolderpath;

Calendar:

Year(DateField) as Year,

LOAD

Date(DateField,  'MMM-YYYY') AS MonthYear,

Day(DateField) AS CalendarDayOfMonth,

WeekDay(DateField) AS CalendarDayName,

Week(DateField) AS CalendarWeek,

Month(DateField) AS CalendarMonth,

if(num(Month(DateField)) > 6 ,(Year(DateField) + 1),Year(DateField)) AS FIN_YEAR ,

if(num(month(DateField))>=1 and num(month(DateField))<=3,'Q4',

if(num(month(DateField))>=4 and num(month(DateField))<=6,'Q1',

if(num(month(DateField))>=7 and num(month(DateField))<=9,'Q2',

if(num(month(DateField))>=10 and num(month(DateField))<=12,'Q3')))) as FinancialQuarter

resident YourSourcetblName;

View solution in original post

2 Replies
VishalWaghole
Specialist II
Specialist II

Once you completed your changes in Access Source,

then go to Edit Script of QlikView, and add the extra fields that you have inserted in specific table.

and click to reload, thats it............

-- Regards,

Vishal Waghole

Not applicable

Hi arman,

From the Source table if u have your Date field Present then you required to create MasterCalendar with resident table from source table.In new table you can able to create your Date ,Year, Q1,Q2,Q3,Q4 field which helpful for your application further.

In Scirpt level you may follow below steps:

SourceTbl:

Load

otherFields,

DateField

SourceFolderpath;

Calendar:

Year(DateField) as Year,

LOAD

Date(DateField,  'MMM-YYYY') AS MonthYear,

Day(DateField) AS CalendarDayOfMonth,

WeekDay(DateField) AS CalendarDayName,

Week(DateField) AS CalendarWeek,

Month(DateField) AS CalendarMonth,

if(num(Month(DateField)) > 6 ,(Year(DateField) + 1),Year(DateField)) AS FIN_YEAR ,

if(num(month(DateField))>=1 and num(month(DateField))<=3,'Q4',

if(num(month(DateField))>=4 and num(month(DateField))<=6,'Q1',

if(num(month(DateField))>=7 and num(month(DateField))<=9,'Q2',

if(num(month(DateField))>=10 and num(month(DateField))<=12,'Q3')))) as FinancialQuarter

resident YourSourcetblName;