COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Framework Manager => Topic started by: Naresh on 06 Jun 2011 09:16:41 AM

Title: How to Import Excel file into FM to create Modelling.....
Post by: Naresh on 06 Jun 2011 09:16:41 AM
Hi..

I Have an Excel File.
I want to import that excel file into FM and i want to create an Model.
I have installed FM on my Local Machine.

Does any one kindly Share the steps to create the Model using Excel File.


Thanks in Advacne.....
Title: Re: How to Import Excel file into FM to create Modelling.....
Post by: Lynn on 06 Jun 2011 12:26:47 PM
There is a search option on the upper right portion of the Cognoise site. If you search you'll find numerous posts that answer your question. I further suggest you look again at Chapter 3 of the FM user guide.
Title: Re: How to Import Excel file into FM to create Modelling.....
Post by: bvk.cognoise on 07 Jun 2011 12:21:27 AM
Hi Naresh,

if you want to import excel files into Frame workmanager first you have to create an ODBC connection.to achieve tis follow these steps
1)excel file into CSV
>first save all your excel files in CSV format
>to save an excel file as CSV open excel file from file menu select Saveas option
>under file type chnage to csv

2)creating ODBC connection
>open controlepanel> administrator tools>open Data source ODBC
>in Data source ODBC  select SYS DSN tab
>under SYSDSN tab click on add
>create new data source window will open
>in that window select ''''''Microsoft textdriver (*txt'*'csv*),click finsh
>odbc text setup window will open
>in that UNCHECK the 'USE CURRENT DIRECTORY PROPERTY"
>select directory window will open
>in that browse your csv file physical path
>from left side select CSV files you want to add
>then click ok

3)
>open framework manger
>create data source connection and then import files


this is the process.hope it helps you.

thanks
bvk
Title: Re: How to Import Excel file into FM to create Modelling.....
Post by: Naresh on 07 Jun 2011 10:34:35 PM
Hi Bvk,

I am not able to select the .csv file in Select Directory tab.
The file which i have saved is not able to select... Please advice


Thanks
Naresh
Title: Re: How to Import Excel file into FM to create Modelling.....
Post by: bvk.cognoise on 08 Jun 2011 12:15:04 AM
Hi Naresh,

in in create new data source window which format you selected?

i think you may selected ''''''Microsoft Access textdriver (*txt'*'csv*)'''

make sure have you selected below format

Microsoft text driver (*txt'*'csv*) if it still not working please let me know .


thanks
bvk
Title: Re: How to Import Excel file into FM to create Modelling.....
Post by: bvk.cognoise on 08 Jun 2011 01:04:54 AM
Hi  Naresh,

try this c
>opy all your  CSV files into one folder
>>in Data source ODBC  select SYS DSN tab
>under SYSDSN tab click on add
>create new data source window will open
>in that window select ''''''Microsoft textdriver (*txt'*'csv*),click finsh
>odbc text setup window will open
>first give source name
>in the same window UNCHECK the 'USE CURRENT DIRECTORY PROPERTY"
>select directory window will open
>in that browse your csv file physical path
>from left side select CSV files you want to add(as well as select the source folder right side)
>then click ok


thanks
bvk
Title: Re: How to Import Excel file into FM to create Modelling.....
Post by: Naresh on 08 Jun 2011 09:38:07 PM
Thanks BVK...Its working fine
Title: Re: How to Import Excel file into FM to create Modelling.....
Post by: bvk.cognoise on 13 Jun 2011 07:25:22 AM
Hi  Naresh,

my strong suggestion is please dont use csv files directly for reporting .first you load those data into one server.for eg: sqlserver.

because if your using csv files directly some function wont work properly in report studio.

thanks
bvk