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

Remove first selected value in chart expression

Dear Experts

Help me removing first row in chart flat table  and chart expression. Need to remove MTTF 104 from chart table.

Following expression is used to obtain below result.

=ceil(fabs(sum({<Plant={$(vWERKS)}>}if(Date(EQM_AUSVN,'M/D/YYYY') >=v_YTM_MONTH and Date(EQM_AUSVN,'D/M/YYYY')<=(v_FTM_DATE),MTBF ))

/Count({<Plant={$(vWERKS)}>}if(Date(EQM_AUSVN,'D/M/YYYY') >=v_YTM_MONTH and Date(EQM_AUSVN,'D/M/YYYY')<=(v_FTM_DATE),if(EQM_MSAUS='X',EQM_QMNUM)))))

Thanks

Ashif

11 Replies
tresesco
MVP
MVP

Front-end? Try expression like:

If(Above(total Equipment)=Equipment,[MTTF(Days)])

The similar could be done in script as well.

Note: here sort order and aggregation matter.

PFA

Anonymous
Not applicable
Author

Hi Ashif,

I managed to get a table working using the following expression

=Sum(Aggr(If(IsNull(Above(Sum(MTTF))),0,Sum(MTTF)),Equipment, Date))

Then ignoring zero values in my chart. Not sure if this is what you are looking for and it will probably need more development but it might help you.