Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi.
Im Fairly new to Cliq and coding, just wanted to find out..
I have created a straight table containing the following fields
Modified by|Client|Time|Category|Value etc..
values running below the column Category are e.g: 1,2,3,4
I would like to know how can i these fields from running vertically to horizontally as individual fields e.g:
Modified by|Client|Time|1|2|3|
any advise or assistance would be highly appreciated, and i do not want to do this with a pivot table, preferably changes made within expressions? just not sure how
Thanks
Sure.... assuming your expression right now is
Sum(Value)
now you can create 5 expressions like this
Sum({<Category = {'1'}>} Value) Sum({<Category = {'2'}>} Value) Sum({<Category = {'3'}>} Value) Sum({<Category = {'4'}>} Value) Sum({<Category = {'5'}>} Value)
check the generic table example at https://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/DataSource/generic-datab...
Thanks,however really avoiding the pivot route..its 5 categories which will remain fixed , can you clarify abit more on how this would be accomplished
Sure.... assuming your expression right now is
Sum(Value)
now you can create 5 expressions like this
Sum({<Category = {'1'}>} Value) Sum({<Category = {'2'}>} Value) Sum({<Category = {'3'}>} Value) Sum({<Category = {'4'}>} Value) Sum({<Category = {'5'}>} Value)
Hi apologies for the really delayed response, it did work however it just duplicates the exact values
You can transpose the rows and columns by checking the Horizontal option on the Presentation tab of the Chart Properties.