Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
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

1 Solution

Accepted Solutions
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

View solution in original post

11 Replies
anbu1984
Master III
Master III

=If(RowNo() >1 , your_expression)

saumyashah90
Specialist
Specialist

1)You will have to change the dimension and not expression for that.

for example:

if(Date([Start Days],'DD/MM/YYYY')>'01/12/2013',CLASS)

2)Or lese if you have RowNo then
=if(RowNo()>1,Expression)

Not applicable
Author

Thanks,

It not working can you suggest other ways.

Ashif

saumyashah90
Specialist
Specialist

Can you please attach the qvw?

Not applicable
Author

I can post the all data.

CLASSEquipmentStart DateEnd DateMTTF(Days)
Chis-Transit Mxr 699323/02/201423/02/2014131
Chis-Transit Mxr 699314/05/201428/05/201480
Chis-Transit Mxr 699420/10/201325/10/20135
Chis-Transit Mxr 699420/10/201325/10/201322
Chis-Transit Mxr 699428/10/201329/10/20133
Chis-Transit Mxr 699427/11/201328/11/201329
Chis-Transit Mxr 699420/01/201421/01/201453
Chis-Transit Mxr 699525/11/201325/11/201362
Chis-Transit Mxr 699701/12/201302/12/2013104
Chis-Transit Mxr 699720/01/201421/01/201449
Chis-Transit Mxr 699705/03/201407/03/201443
Chis-Transit Mxr 6101823/10/201326/10/201311
Chis-Transit Mxr 6101829/11/201302/12/201334
Chis-Transit Mxr 6138527/10/201328/10/20131
Chis-Transit Mxr 6138527/10/201328/10/2013866
Chis-Transit Mxr 6138510/04/201410/04/2014164
Chis-Transit Mxr 6777306/10/201306/10/201312
Chis-Transit Mxr 6777318/10/201318/10/201312
Chis-Transit Mxr 6777320/10/201320/10/20132
Chis-Transit Mxr 6777322/10/201322/10/20132
Chis-Transit Mxr 6777301/11/201301/11/201310
Chis-Transit Mxr 6777308/04/201408/04/2014158
Chis-Transit Mxr 6912906/10/201306/10/2013499
Chis-Transit Mxr 6912916/11/201329/11/201367
Chis-Transit Mxr 6912908/02/201409/02/201471
saumyashah90
Specialist
Specialist

Hi this will surely help you

Not applicable
Author

HI Saumya

I think we're wrongly interpret the problem. I don't just want first record to remove from just first row of table but for each equipment.

Regards

Ashif

saumyashah90
Specialist
Specialist

there is a way to do that also

Not applicable
Author

How?