Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Transpose

Hi All,

I need to transpose the Metric field  values to column vise any suggestion.

1 Solution

Accepted Solutions
avinashelite

Please find the attachment for the same

View solution in original post

6 Replies
sunny_talwar

Transpose them on the front end or the script?

sunny_talwar

For front end option, you can do like this:

  • Create a straight table
  • Add Metric Name, Project ID, Project Name, Updated On, Value Before Update as Dimensions
  • Create 1 as expression
  • On Presentation tab Hide 1 as expression and select Horizontal check box (attaching a screenshot for this one)

Capture.PNG

Output:

Capture.PNG

HTH

Best,

Sunny

Not applicable
Author

Thankyou,

It need to be hardcoded in script Level.

Expected result is

Capture.PNG

avinashelite

Please find the attachment for the same

petter
Partner - Champion III
Partner - Champion III

If you are looking for a solution where you transpose (un-pivot) the table in the load script then this could be a solution for you:

2015-07-14 #1.PNG

I had to make your XLSX-sample conformant with your expected results so I attached a new XLSX-file too...

Not applicable
Author

Hi Petter,

if i have multiple entries for same metric for same project the logic used is not working for straight table. am looking for result in straight table.1.PNG