Qlik Community

QlikView Layout & Visualizations

Discussion Board for collaboration on QlikView Layout & Visualizations.

cbaqirdhds
Contributor 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
MVP
MVP

Re: Show only Dimension = max(Dimension)

May be this

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

10 Replies
MVP
MVP

Re: Show only Dimension = max(Dimension)

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)

cbaqirdhds
Contributor II

Re: Show only Dimension = max(Dimension)

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

MVP
MVP

Re: Show only Dimension = max(Dimension)

Can you show an image of list box for PRIMARY_DECISION_AGENDA_DATE

cbaqirdhds
Contributor II

Re: Show only Dimension = max(Dimension)

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

MVP
MVP

Re: Show only Dimension = max(Dimension)

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

cbaqirdhds
Contributor II

Re: Show only Dimension = max(Dimension)

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

MVP
MVP

Re: Show only Dimension = max(Dimension)

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

cbaqirdhds
Contributor II

Re: Show only Dimension = max(Dimension)

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

MVP
MVP

Re: Show only Dimension = max(Dimension)

May be this

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