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

Announcements
April 13–15 - Dare to Unleash a New Professional You at Qlik Connect 2026: Register Now!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Clear data

Hi,

I use Input button, which should clear data. It should be like a filter. If I input 30, I want to see results for N_Month more than 30.

avg({ $< Client*=>, N_Month='$(Variable2)'}[MyField])

Thanks,

1 Solution

Accepted Solutions
CELAMBARASAN
Partner - Champion
Partner - Champion

Try this

Is Variable2 is used in input box?if so use

avg({ $< Client*=>, N_Month={">$(=Variable2)"}>}[MyField])

View solution in original post

8 Replies
CELAMBARASAN
Partner - Champion
Partner - Champion

Try this

Is Variable2 is used in input box?if so use

avg({ $< Client*=>, N_Month={">$(=Variable2)"}>}[MyField])

Anonymous
Not applicable
Author

It didn't work.

I have a chart, where I show all  student (TOTAL) by month and one of them student.

I want use condition, where I can select min result to show into avg.

Thanks,

Anonymous
Not applicable
Author

I used =sum({ $<N_Month={">$(=Variable2)"}>}[TASK_COMPLETION]) in text box, I got the result.

But in chart, I have dimension MYEAR, It didn't show anything.

Anonymous
Not applicable
Author

It works, but not perfect

Anonymous
Not applicable
Author

Thanks, I changed a bit condition

swarup_malli
Specialist
Specialist

In this expression

  

avg({ $< Client*=>, N_Month={">$(=Variable2)"}>}[MyField])

what is the significance of       *=

why is star being used before =

Thnx

SM

Anonymous
Not applicable
Author

You can use without *, it was from previous version of QV.

swarup_malli
Specialist
Specialist

Ok, thank you Vovan