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

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
paulyeo11
Master
Master

How to make my table name from AutoGenerate(1) to AutoGenerate ?

Hi All ,

I have below script from Sok , it will generate 2 table ,

may i know how to make the QV self generate table name change from AutoGenerate(1) to just AutoGenerate ?

Let vMin = num(makedate(2012,01,01));

Let vMax = num(makedate(2013,12,31));

Load Date($(vMin)+RowNo() -1) as DATE,

           Date(Floor(Monthstart(Date($(vMin)+RowNo() -1)))) as date_t

AutoGenerate

1

While Date($(vMin)+RowNo() -1) <Date($(vMax));

RATE:

LOAD date_t,

     SOURCE,

     EXCHANGE,

     EXCHANGE_,

     Currency

FROM

Account_Setup_1.xls

(biff, embedded labels, table is [RATE_$]);

1 Solution

Accepted Solutions
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

     Try this.

     Temp:

Load Date($(vMin)+RowNo() -1) as DATE,

           Date(Floor(Monthstart(Date($(vMin)+RowNo() -1)))) as date_t

AutoGenerate

1

While Date($(vMin)+RowNo() -1) <Date($(vMax));

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!

View solution in original post

2 Replies
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

     Try this.

     Temp:

Load Date($(vMin)+RowNo() -1) as DATE,

           Date(Floor(Monthstart(Date($(vMin)+RowNo() -1)))) as date_t

AutoGenerate

1

While Date($(vMin)+RowNo() -1) <Date($(vMax));

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
paulyeo11
Master
Master
Author

Hi Kau

Thank you vey much.

Paul