Solved

Lobby element designer


Userlevel 3
Badge +7

Hello,

 

How can I sort by month in the IFS lobby tools.

 

icon

Best answer by TAPSUDJAY 16 March 2021, 08:55

View original

This topic has been closed for comments

10 replies

Userlevel 7

Hello,

 

How can I sort by month in the IFS lobby tools.

 

I tend to add an order by clause in the data source e.g.  ORDER BY 'YYYY-IW' or 'YYYY-MM'  or 'YYYY-Q'
 

You could also do something like:

year, DECODE(MONTH,'JAN',1,'FEB',2,'MAR',3,'APR',4,'MAY',5,'JUN',6,'JUL',7,'AUG','8','SEP','9','OCT',10,'NOV',11,'DEC',12) 

 

Userlevel 3
Badge +7

In PL SQL developer it works right. But in the lobby screen doesn’t work. My problem in the lobby screen. If I chose sorting by X axis, it sorting by alphabet

 

Userlevel 7

In PL SQL developer it works right. But in lobby screen doesn’t work. My problem in the lobby screen. If I chose sorting by X axis, it sorting alphabet

 

Can you set month column to ‘Number’ and not ‘Text’?

 

Userlevel 3
Badge +7

It works in data source designer but doesn’t work in element designer.

 

Userlevel 7

It works in data source designer but doesn’t work in element designer.

 

Month should be your X Axis.

Userlevel 3
Badge +7

My X Axis Month Description

Userlevel 7
Badge +19

Have you unticked “Use Top-N Options” in the Formatting section?

If you have that ticked the sorting of the data source is not considered.

 

Userlevel 3
Badge +7

Only two option in my screen.

 

Userlevel 4
Badge +8

I have experienced a similar issue and reported it to IFS (Case ID: G2062343). The workaround they gave worked but  later our HR Coordinator who uses the lobby pointed out that the months are again not sorted properly. I have not raised this to IFS yet. You could have a look at the case I had reported and see if the solution they have provided works for you.

Userlevel 5
Badge +14

To order by the result. Use the code below.

 

select to_char(to_date('Mayıs','MONTH', 'NLS_DATE_LANGUAGE = Turkish'), 'mm') from dual;