Cognos Analytics with Watson

Cognos Analytics

Connect, learn, and share with thousands of IBM Cognos Analytics users! 

 View Only

RE: default selection in value prompt is first value 

Mon June 12, 2023 11:01 AM
Statistics
0 Favorited
66 Views
1 Files
0 Shares
5 Downloads
Attachment(s)
txt file
dynamic default selection.txt   32 KB   1 version
Uploaded - Mon June 12, 2023

Comments

Wed June 14, 2023 11:06 AM

I'm not an expert for java script and can't point you out to this solution.

Wed June 14, 2023 08:20 AM

Thanks  Robert for you replying ,i did it through max(date-month id ) and

created data item like case when ([date-monthid])=maximum([date-monthid]) then 1

else 

([date-monthid])

end

and given the default value as 1 in prompt selection

is there any other way it can achieve through java script in cognos 11..1.7

Thanks

Murali