Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all,
I need to display some text within a table. However, when there are no values in a column, I do not want the column to show. An example is given below. So, for ID 1, the dimension named description 2 should not be displayed when ID 1 is chosen. For the other ID's, if chosen, all dimensions should show, even if for one year there is no data.
How would we work on this?
For such columns you could write 'Show column if' expression like:
Len(MaxString([Description 2]))
For such columns you could write 'Show column if' expression like:
Len(MaxString([Description 2]))
Yes (somehow).
Actually the evaluation/technicality works like:
Qlik expect true/false from the expression written as condition. In qlik, numeric value zero is false, and non-zero number is true. Now my expression uses maxstring() an aggregation function to find the max string from available string values in that field. If there exists a value , it's length would be >0. Greater than zero value is evaluated as true and if no string values are there, the length would be returned as 0 which is false.
Hope this helps.