Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi there,
I have a requirement to list a number of measures in a table, horizontally. I have attached a picture as an example of my table, it consists of 12 measures listed vertically, which looks ridiculous. Listing them horizontally will be more space efficient.
In QlikView I was able to convert straight Tables from Vertical to Horizontal, is this no longer possible in Qlik Sense? Is there an extension out that will allow me to do this?
I think you still need to use a pivot table to achieve that..
The problem is that I am not using any dimensions. A pivot table requires a dimension.
A simple workaround is that you can create some "dummy" dimension in the pivot table and name it, for example, as "Values", "EUR" or whatever.
I can't see how this can solve my problem. This describes my scenario better:
I have measures listed in a table and I need to transpose this.
This is possible in QlikView as you can create tables with no dimensions.
I require an equivalent in Qlik Sense.
Yes, you can do it with QlikSense's load script; I am not aware of any Chart object able to do the transposition; with the load script you will be using:
I will share my own notes, as I played with your data and the information gathered from the posts-helps referenced above:
Measures:
Generic Load 1 As Group, MonthySummary, Value Inline [
MonthySummary, Value
Measure 1, 11
Measure 2, 12
Measure 3, 13
Measure 4, 14
Measure 5, 15
Measure 6, 16
Measure 7, 17
Measure 8, 18
Measure 9, 19
Measure 10, 110
Measure 11, 111
Measure 12, 112
];
and
And this is the result table screenshot:
Hope this helps
I have accomplished this using the ValueList function, without modifying my load script (which was complex enough as it is).
1) Create a table
2) Add a Dimension using the expression editor. Use the ValueList() function to make a list of the measure names you want listed in your table. Name this dimension something like "Measure". Example of this dimension:
3) Add a Measure using the expression editor. This is where it gets ugly. You'll make a nested "if" statement for each measure, and you'll put all of your calculations in this statement. Make sure to use formatting functions, since this is a single field which can't be formatted elsewhere. Name the field something like "Value". Example:
Results: