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

Announcements
Q&A with Qlik - Qlik Cloud Migration: Questions about migrating to Qlik Cloud? Catch the latest replay!
cancel
Showing results for 
Search instead for 
Did you mean: 
bhavvibudagam
Creator II
Creator II

Set Analysis

Hi Everyone,

I have write one set analysis expression like below

=(SUM({<Category = {'Ateam'}>}[Foot Ball Team]))

/

(SUM({<Category = {'Ateam'},Test_Date={'$(=(Max(Test_Date)))'}>}Total_team))

But here category = Ateam is not applying properly. When I have selected Ateam from the list box only its showing the correct result.

The selection need to apply from set analysis. Please find the app and source file.Pleas let me know Am i missed anything.

Thanks

Labels (1)
2 Replies
sunny_talwar
MVP
MVP

Try this

=(SUM({<Category = {'Ateam'}>}[Foot Ball Team]))

/

(SUM({<Category = {'Ateam'},Test_Date={"$(=(Max({<Category = {'Ateam'}>}Test_Date)))"}>}Total_team))

Anonymous
Not applicable

=(SUM({1 <Category = {'Ateam'}>}[Foot Ball Team]))

/

(SUM({1 <Category = {'Ateam'},Test_Date={'$(=(Max(Test_Date)))'}>}Total_team))