Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to create custom rows in one straight table

Hello QlikCommunity,
I'm new to QlikView and wanted to know how to create a table with 4 custom rows.
Here is what I want the final result to look like.
Statistics201120122013 YTD2013Q12013Q2 YTD
# of hours4,0003,5002,0001,0001,000
# of cases open1,0001,200900400500
# of cases closed8001,000300100200
# of issues200200600300300
[# of hours], [# of cases open], [# of cases closed] and [# of issues] are calculated measures, and they are not loaded with the script.
Currently I'm creating 4 seperate straight tables - one custom row per table with same column headings. The problem with this approach is that I can't combine 4 straight tables into one and use just one comon headers for all rows. This seems such a trivial problem. It's really easy to do in Excel or SAP BO Webi, but I can seem to find an efficient and effective way to present the information to the user.
Any help would be greatly appreciated.
Thanks!
1 Solution

Accepted Solutions
sibin_jacob
Creator III
Creator III

Create a inline table with the field static_name. static_name column contain values # of hours, # of cases open ...

Then use dimension as static_name.

In expression you need to write expression like this

first expression for 2011

If (rowno()=1,

formula for hours,

if(rowno()=2,

formula for open cases,

if(rowno()=3,

formula for closed cases,

if(rowno()=4,

formula for issues))))

Thanks

Sibin jacob.c

View solution in original post

2 Replies
sibin_jacob
Creator III
Creator III

Create a inline table with the field static_name. static_name column contain values # of hours, # of cases open ...

Then use dimension as static_name.

In expression you need to write expression like this

first expression for 2011

If (rowno()=1,

formula for hours,

if(rowno()=2,

formula for open cases,

if(rowno()=3,

formula for closed cases,

if(rowno()=4,

formula for issues))))

Thanks

Sibin jacob.c

Not applicable
Author

What an elegance solution.

Thank you!