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

find first selected data that have value

Hi

I Have a question in bar chart Qlikview.

How can I found first  dimension member in  selected range data that have value grater than Zero?

I want first member of date range that selected and it's value is zero become 0.

2 Replies
Anil_Babu_Samineni

Not Really sure what your intend, Perhaps this?

FirstSortedValue(Member, Aggr(Sum({<Measure={"0"}>} Measure), Member))

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
sasikanth
Master
Master

Try,

=FirstSortedValue(Member,  -Aggr(Sum({< Date={">=vMindate <=vMaxdate "}

,  {"=sum(Measure)=0" }>}Measure),Member))



=FirstSortedValue(Member,  -Aggr(Sum({< Date={">=vMindate <=vMaxdate "}

,  {"=sum(Measure)>0" }>}Measure),Member))