How to show limited values

Supriya25
Tera Guru

Hi All,


On Incident form we have two Choice fields Service and TM, those are having no dependence. Populating TM values based off below custom table SERVICE DETAILS from Client Script as per requiremnet..

Request :  We would like to create a Dashboard for TM values.
Kindly help me how to display WIN service related TM values (WIN 2005, 2011,2012) only  in DASHBOARD. should not display all other values.

Supriya25_5-1729313114092.png

 

Supriya25_1-1729312564054.png


DASHBOARD INDICATOR

Supriya25_2-1729312630254.png


DASHBOARD : here it is showing all other TM values , it should not show. How to control them?

Supriya25_3-1729312907184.png

 

5 REPLIES 5

Moin Kazi
Kilo Sage
Kilo Sage

Hi @Supriya25 ,

 

If you want your dashboard to display only the records where the service is 'WIN' and the TN is either 'WIN 2005,' 'WIN 2011,' or 'WIN 2012,' you can add these conditions in the 'Additional condition' section of your dashboard indicator.

 

Service is WIN

AND

TM is WIN 2005

OR

TM is WIN 2011

OR

TM is WIN 2012

 

If my response helped, please mark it correct and close the thread so that it benefits future readers.

 
Regards
Moin

Hi Moin,

I hope it will works only when do we have less number of TM's.

if I have more than 30-40 for Service "WIN". how can we encounter this case. ??? Can we use Script Include in filter condition?

TM - is one of - script-Include ?

Hi @Supriya25 ,

 

If you have 30-40 or more items, you can use the 'is one of' operator directly provide all name with comma separated. 

OR

Yes, you can write script include and call it with is one of operator.

 

Use this way to call script include - 

 

javascript: new ScriptIncludeName().functionName()

 

Refer to the image below for reference.

MoinKazi_1-1729362597908.png

 

 

Hope this help you.

 

Regards

Moin

 

 

Unfortunately solution not working

Supriya25_0-1729603258060.png

 

Supriya25_1-1729603294574.png