Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Transpose Trasnformation

Hi all ,

I have around 100 metrics  in [Metric Name] field/column  i want to transpose each metric into column for a straight table use.

And the table is already in QVD, when i try to transpose with 'Enable Transformation Step'  application is freezing .

2.PNG

Please suggest me.

1 Solution

Accepted Solutions
Not applicable
Author

I tried this way in script. It worked for me.also i need to create this way for all other metrics.. with concatenation.

Temp:

ID,

[Updated On] as N_Updated_On,

[Value Before Update] as N_MCost Actual $

Resident [Tablename]

where [Metric Name]='MCost Actual $';

Thanks for all your suggestions.

View solution in original post

9 Replies
kmswetha
Creator
Creator

Hi,

After loading from QVD, use cross table function.

kmswetha
Creator
Creator

Hi,

me again.

You should be using generic function not crosstab once loaded from qvd.

Here is the syntax

generic load name, metric_name, (Vaue filed which ever is numeric) resident table_name;

Not applicable
Author

Application is freezing.. Swetha

qlikviewwizard
Master II
Master II

Hi krrushna

Instead of loading , just edit script and run in debug mode by giving less no of rows.

Hope this will help you.

Not applicable
Author

Its not working as expected..

qlikviewwizard
Master II
Master II

Can you attach the sample file.

Not applicable
Author

Attached sample file

qlikviewwizard
Master II
Master II

Hi krrushna

Remove F column and second row in transformation. I used Sheet2.

Please check again. Let me know if any issues.

Capture.JPG

Capture1.JPG

Capture2.JPG

Capture3.JPG

Not applicable
Author

I tried this way in script. It worked for me.also i need to create this way for all other metrics.. with concatenation.

Temp:

ID,

[Updated On] as N_Updated_On,

[Value Before Update] as N_MCost Actual $

Resident [Tablename]

where [Metric Name]='MCost Actual $';

Thanks for all your suggestions.