Skip to main content
Announcements
July 15, NEW Customer Portal: Initial launch will improve how you submit Support Cases. IMPORTANT DETAILS
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Query with data

Hello All,

I want to flatten the data.

I have 3 fields :survey_id,Option, CategoryOptions

the survey keeps increasing and accordingly the Options and the CategoryOptions as per the requirements.

I want to flatten this data.

ie.i want to have different fields for different options.and that field will be have category option as its value.

At present the data is like below

Option                          CategoryOption

Age Buckets26-34
Age Buckets35-44
Age Buckets45-54
Age BucketsGrater Than 55
Age BucketsLess Than 25

i want in the below matter

Age Buckets

26-34
35-44
45-54
Grater Than 55
Less Than 25

Cant use wildmatch.

please find the attached demo data.

Please help me with this problem

Thanks and Regards,

Priya

1 Solution

Accepted Solutions
Not applicable
Author

Add the keyword GENERIC infront of Load and see the magic,

GENERIC LOAD survey_id,

     [Option Category],

     Options

FROM

[<Path>\Flatten Data.xlsx]

(ooxml, embedded labels, table is Sheet1);

Thanks,

Prabhu

View solution in original post

2 Replies
Not applicable
Author

Add the keyword GENERIC infront of Load and see the magic,

GENERIC LOAD survey_id,

     [Option Category],

     Options

FROM

[<Path>\Flatten Data.xlsx]

(ooxml, embedded labels, table is Sheet1);

Thanks,

Prabhu

Not applicable
Author

Its really a magic,

Thanks !!