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: 
Not applicable

Limiting a Field in a Chart

I am trying to make a chart based on a field in my database where I want to have the chart graph all records with a value of 70% or greater. I have tried the formula two ways the first in a calculated dimension then as an expression. In both cases I get an error in the calculation...=sum(Opportunity.Probability) > 70

Any Advice?

1 Reply
Oleg_Troyansky
Partner Ambassador/MVP
Partner Ambassador/MVP

You need to determine what dimension are you trying to limit by this condition, and use it in Set Analysis. For example, if you are counting OpportunityID with the sum(Probability) > 0.7 , you should have an expression like this:

count({<OpportunityID={"=sum(Opportunity.Probablility)>0.7"}>}  distinct OpportunityID)

Notice that your condition serves as a search condition for the field that you want to limit (OpportunityID in this example)