Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Pivot table showing expressions row by row instead of column by column

1. I want to create a table based in calculations as in the example below.

report for client cli1:
23/09/2013
18/09/2013
Mylabel1:

                         0.40=OK/ RECORDS COUNT=2/5

                     0.25 =OK/ RECORDS COUNT=1/4
Mylabel2:20=METRICS_COUNT * RECORDS_COUNT16=METRICS_COUNT * RECORDS_COUNT
Mylabel3:                           5= Records Count                       4 = Records Count

2. Notice that I’ll have a listbox with the client name, and the results table should show up when I click on the client name.

3. Also this as to be discriminated by dates as columns, so the number of columns is not fixed.

Source:

RUN_IDEXECUTION_DATECLIENTMETRICS_COUNTRECORDS_COUNTOK
118/09/2013 12:00cli1441
118/09/2013 12:00cli2441
223/09/2013 12:00cli1452
223/09/2013 12:00cli2430

This can be done using a Pivot table and using CLIENT and EXECUTION_DATE as dimensions. But I'll have Mylabel2 and Mylabel3 to the right of Mylabel1, instead on the next row.

So how to put these labels on next rows?

1 Solution

Accepted Solutions
Not applicable
Author

Use a straight table instead of a pivot table with dates as dimension AND GROUP BY EXECUTION_DATE and label 1, label 2 and label 3 as expressions.

Then in properties / Presentation, you click on Horizontal.

View solution in original post

5 Replies
yduval75
Partner - Creator III
Partner - Creator III

Hello,

If you use a straight table instead of a pivot table with dates as dimension and label 1, label 2 and label 3 as expressions.
Then in properties / Presentation, you click on Horizontal.

that' s solve your problem ?

Best regards

Yoann DUVAL

Not applicable
Author

Almost!

Your solution creates all the rows I need and the first column (first date).

I'm missing how to create the following date columns with your solution.

yduval75
Partner - Creator III
Partner - Creator III

But if you put Dates in dimensions, you should have all the dates in your columns
Can you send your qvw file ?

Not applicable
Author

Yes that should work. After I try it I'll let you know.

Thanks,

Miguel.

Not applicable
Author

Use a straight table instead of a pivot table with dates as dimension AND GROUP BY EXECUTION_DATE and label 1, label 2 and label 3 as expressions.

Then in properties / Presentation, you click on Horizontal.