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

Announcements
Only at Qlik Connect! Guest keynote Jesse Cole shares his secrets for daring to be different. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Lhelpqlik
Contributor II
Contributor II

Hide rows when using status '8'

Hi,

 

Wondering how I could use an expression to hide any rows, that use the status '8' 

 

i.e

Customer                Job No.  Location.

123Customer.com   1234      8

Labels (4)
2 Solutions

Accepted Solutions
hugo_andrade
Partner - Specialist
Partner - Specialist

@Lhelpqlik

You can get the result expected by creating a new dimension on the data model that does not contain records that reference Location 8, then use that dimension on a chart. When you do that, make sure yo uncheck the option to "Allow null values". That will remove that entry from the chart.

I've attached an example for you.
🙂

Live and Breathe Qlik & AWS.
Follow me on my LinkedIn | Know IPC Global at ipc-global.com

View solution in original post

Nagaraju_KCS
Specialist II
Specialist II

you can try this

If(Status<>'8', Status) as Status at script level

Expression:

add this condition Status -={8} or Status={*}-{8}

View solution in original post

6 Replies
Anil_Babu_Samineni

@Lhelpqlik You can try,

If(Status<>'8', Status)

If it is in set analysis, try with {<Status-={8}>}

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
N30fyte
Creator
Creator

Hide null values in the Customer dimension. Then in the dimension expression:

=if (Location<>8,Customer)

 

Lhelpqlik
Contributor II
Contributor II
Author

Thank, you but this only removed the location section show '8' i want to remove the whole row of information i.e row hides if use location '8'

hugo_andrade
Partner - Specialist
Partner - Specialist

@Lhelpqlik

You can get the result expected by creating a new dimension on the data model that does not contain records that reference Location 8, then use that dimension on a chart. When you do that, make sure yo uncheck the option to "Allow null values". That will remove that entry from the chart.

I've attached an example for you.
🙂

Live and Breathe Qlik & AWS.
Follow me on my LinkedIn | Know IPC Global at ipc-global.com

Nagaraju_KCS
Specialist II
Specialist II

you can try this

If(Status<>'8', Status) as Status at script level

Expression:

add this condition Status -={8} or Status={*}-{8}

Chanty4u
MVP
MVP

Try this

=IF(Location <> '8', Customer)