Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
louise119
Creator III
Creator III

Table rows and columns

Hi,
I am using data from DB to create a table.
Is it possible to reverse the display of rows and columns in the table? (without script)

as-is 

tttest.png

 

to-be

date || 1/8/2023 | 1/7/2023 | ......

id       || 3 | 1 | 1 | 2 |........

1 Solution

Accepted Solutions
vinieme12
Champion III
Champion III

if its just for Display purpose, you can try using a pivot table

example below

vinieme12_0-1681442811992.png

 

Column dimension :   Valueloop(1,FieldValueCount('DATE'))

vinieme12_1-1681442838844.png

 

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.

View solution in original post

4 Replies
marcus_sommer

AFAIK not without any scripting. The reverse way (crosstable-load) was included within the advanced section of the table-wizard in QlikView but not the generic-load - and I doubt that's different in Sense. But if you search for it you will various postings to this topic how to script it. Beside this you should have very good reasons to do such transformation because within the most scenarios it will have more disadvantages than benefits.

vinieme12
Champion III
Champion III

if its just for Display purpose, you can try using a pivot table

example below

vinieme12_0-1681442811992.png

 

Column dimension :   Valueloop(1,FieldValueCount('DATE'))

vinieme12_1-1681442838844.png

 

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
louise119
Creator III
Creator III
Author

Thank you!

Can I delete the "Values" and "=Valueloop(...)" above the pivot table?

vinieme12
Champion III
Champion III

you can hide the header row by injecting custom css using a MultiKPI object 

div[tid="OBJECTID"] table tr:nth-child(1){
display:none!important;
}

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.