Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I am using the FilterPane in Qlik Sense Desktop and I currently have columns called Days and Price:
Days Price
Monday 0.01
Tuesday 0.2
Wednesday 0.6
Thursday 1.15
Friday 1.2
Saturday 1.9
Sunday 0.9
Is there a way to have my Price columns show this instead of its actual values:
Price
Greater Than One
Less Than One
All I need is everything sorted out that if i choose the "Greater Than One" option, it will show:
Days Price
Thursday 1.15
Friday 1.2
Saturday 1.9
Thank you,
See the updated qvw file
You can do this in the script:
LOAD Days,
Price,
If(Price < 1, 'Less Than One', 'Greater Than One') as PriceFlag
FROM....
or you can use an expression for the list box
If(Price < 1, 'Less Than One', 'Greater Than One')
Sample script:
Table:
LOAD *,
If(Price < 1, 'Less Than One', 'Greater Than One') as PriceFlag;
LOAD * INLINE [
Days, Price
Monday, 0.01
Tuesday, 0.2
Wednesday, 0.6
Thursday, 1.15
Friday, 1.2
Saturday, 1.9
Sunday, 0.9
];
I can't seem to edit it on the FilterPane, it's saying "Invalid Dimension"
See the updated qvw file
I am using Qlik Sense Desktop, I am not able to open the file you uploaded. Where should I enter the formula?
Here you go (Qlik Sense sample attached)
Thank you. And did you do Add Dimension? Where did you put the actual equation? Through Data or Sorting?
I got it to work, thanks
please advise how can i filder from -1 to +1 in some dimension..