Skip to main content
Announcements
Do More with Qlik - Qlik Cloud Analytics Recap and Getting Started, June 19: REGISTER
cancel
Showing results for 
Search instead for 
Did you mean: 
cbaqir
Specialist II
Specialist II

Show only Dimension = max(Dimension)

I want to only show rows where PRIMARY_DECISION_AGENDA_DATE = max(PRIMARY_DECISION_AGENDA_DATE)  but this is not working. If I select Suppress Null, nothing shows up at all.

= Aggr(IF(Rank(Date(if(match(PRIMARY_DECISION_AGENDA_DATE,max(PRIMARY_DECISION_AGENDA_DATE)>0,PRIMARY_DECISION_AGENDA_DATE))), 0) = 1,PRIMARY_DECISION_AGENDA_DATE), GOV_DECISION_BODY, REQUEST_REGION, DETECT_BY, CUR_STATUS,DEFECT_ID, PRIMARY_DECISION_AGENDA_DATE)

Thoughts?

9-21-2017 9-27-46 AM.jpg

1 Solution

Accepted Solutions
sunny_talwar

May be this

If(PRIMARY_DECISION_AGENDA_DATE = Max(TOTAL PRIMARY_DECISION_AGENDA_DATE), PRIMARY_DECISION_AGENDA_DATE)

View solution in original post

10 Replies
sunny_talwar

May be try this:

=Aggr(IF(Rank(Date(if(match(PRIMARY_DECISION_AGENDA_DATE, max(TOTAL <GOV_DECISION_BODY, REQUEST_REGION, DETECT_BY, CUR_STATUS, DEFECT_ID> PRIMARY_DECISION_AGENDA_DATE) > 0, PRIMARY_DECISION_AGENDA_DATE))), 0) = 1, PRIMARY_DECISION_AGENDA_DATE), GOV_DECISION_BODY, REQUEST_REGION, DETECT_BY, CUR_STATUS, DEFECT_ID, PRIMARY_DECISION_AGENDA_DATE)

cbaqir
Specialist II
Specialist II
Author

Nope. I think there's an issue with the field's date format.

sunny_talwar

Can you show an image of list box for PRIMARY_DECISION_AGENDA_DATE

cbaqir
Specialist II
Specialist II
Author

9-21-2017 9-40-32 AM.jpg

sunny_talwar

Not seeing any issues with the date.... may be I don't really know what you goal is

cbaqir
Specialist II
Specialist II
Author

I want the chart to only show rows where the PRIMARY_DECISION_AGENDA_DATE = max(PRIMARY_DECISION_AGENDA_DATE)

sunny_talwar

What is all the other stuff with Rank and stuff? What is the goal of that?

cbaqir
Specialist II
Specialist II
Author

They are probably not necessary and I was over-complicating it.

sunny_talwar

May be this

If(PRIMARY_DECISION_AGENDA_DATE = Max(TOTAL PRIMARY_DECISION_AGENDA_DATE), PRIMARY_DECISION_AGENDA_DATE)