Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to export the Data Model to a excel sheet?

Hi All,

I am having a requirement like ;

I have a data model ,from there i need to export each table data to a excel report.Each table may contain N number of fields.

Example: I have a data model like below: DataModel.JPG

I need to export Master Calednder,Products,etc.. Tables into excel data report.So kindly help me on this.

Thanks & Regards,

Anjaneyulu

1 Solution

Accepted Solutions
lironbaram
Partner - Master III
Partner - Master III

hi

this part of script

will export all the tables in the model into csv files

let vtables = NoOfTables();

for i=0 to $(vtables)-1

let vTable = TableName($(i));

store $(vTable) into $(vTable).csv (txt,delimiter is ',');

NEXT

View solution in original post

6 Replies
Chanty4u
MVP
MVP

Hi,

I am Not sure.

Create a table box object in front end  add your fields/Tables  and send to excel.

HTH

Chanty

Not applicable
Author

Hi chanty,

Ok ,,,I will try this and i will get back !

Thanks

Anjaneyulu

Anonymous
Not applicable
Author

Hi..,

we can't export entire data model at the same time....but we can export each table data separately...

i hope this is helpful to you..

Create a..table box with the data you have in your table,

then send  to excel.....each table separately.

lironbaram
Partner - Master III
Partner - Master III

hi

this part of script

will export all the tables in the model into csv files

let vtables = NoOfTables();

for i=0 to $(vtables)-1

let vTable = TableName($(i));

store $(vTable) into $(vTable).csv (txt,delimiter is ',');

NEXT

rido1421
Creator III
Creator III

Hi Anjaneyulu

As Chanty 4U suggested create a system table and send that to excel.

it seems to meet your requirement

Not applicable
Author

Hi Liron,

Thanks for your  Information.It's more easiest approach than what Chanty4U provided for generating the excel data from a original qvw file.

Thanks alot once again.

Regards,

Anjaneyulu