Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
0li5a3a
Creator III
Creator III

sorting data in a straight chart

Hi all,

I need your help. I have a straight chart  with 3 columns and  need to filter the data. EX

column 1               column 2                   column 3

123456                  abcd                         INDOOR

235466                  bbcs                         OUTDOR

23564                    abcd                       

I want to restrict the data just to be able to see the columns which contain the values INDOOR.

I want to restrict the data only in this specific chart not in the all appreciation.

Could you please suggest what I need to do?

Thank you in advance!

1 Solution

Accepted Solutions
Anil_Babu_Samineni

Is this you are expecting? If not, You must share exact output need?

Capture.PNG

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful

View solution in original post

19 Replies
qlikview979
Specialist
Specialist

Not sure

are you expecting to  show straight table only 'INDOOR' right .

0li5a3a
Creator III
Creator III
Author

yes please

0li5a3a
Creator III
Creator III
Author

I tried to use IF and ONLY but I can't restrict the data....

qlikview979
Specialist
Specialist

try this

Untitled.png

tresesco
MVP
MVP

If there is any aggregation function (min, max, sum, count....) you are using in the chart, you can use set analysis to restrict the output like:


Sum({<FieldName={'INDOOR'}>} Sales)



Now, change it to your context.

qlikview979
Specialist
Specialist

you try like this also

with only() function

only({<[column 3]={'INDOOR'}>}[column 3])

sanjay006
Creator
Creator

ans.PNG

sanjay006
Creator
Creator

=if(WildMatch(column 3,'INDOOR'),column 3)

if u want in your dimension.

and if u want it in value

Sum({<column 3,={'INDOOR'}>} value)

0li5a3a
Creator III
Creator III
Author

I tried your code but I have a problem with the nulls.  How I can exclude nulls?