Qlik Community

Ask a Question

New to Qlik Sense

If you’re new to Qlik Sense, start with this Discussion Board and get up-to-speed quickly.

Announcements
Welcome to our newly redesigned Qlik Community! Read our blog to learn about all the new updates: READ BLOG and REPORTED ISSUES
cancel
Showing results for 
Search instead for 
Did you mean: 
Creator
Creator

Exclude certain records in a chart?

Hi,

I have a bar chart  which has an expression  "sum(ReceivedToStockQty)/Sum(ProdQty)" to show the percentage of stock received vs expected.

It works fine, but i'd like to remove anything where the percentage is 100% (or ratio is 1 I guess), but can't figure out the syntax in set analysis / if statement to achieve this.

Thanks.

1 Solution

Accepted Solutions
Creator
Creator

That works perfectly........... thank you very much. I really need to get my head round this syntax.

View solution in original post

6 Replies
Partner
Partner

maybe :

if( sum({1}ReceivedToStockQty)/Sum({1}ProdQty)=1,0,sum(ReceivedToStockQty)/Sum(ProdQty))


and under adds on, uncheck show zero values

Creator
Creator

That works perfectly........... thank you very much. I really need to get my head round this syntax.

View solution in original post

Luminary
Luminary

When applicable please mark the appropriate replies as CORRECT. This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please mark threads as HELPFUL if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads as HELPFUL if you feel additional info is useful to others

Partner
Partner

Great !

Than please close the thread by marking the CORRECT answer as CORRECT.

Specialist
Specialist

Try E()

Partner
Partner

Can u just explain how was this answer helpful AND correct ?

Capture.PNG