#1 2019-01-24 06:29:33

Nayana
Member
Registered: 2018-11-15
Posts: 62

Sorting on Parameter Values at Report Execution

We have created a parameter (eg. Product Category) and used in a Birt Report. Is there anyway we can order the values of that parameter at the execution time.

For example, If the product category values are as "Product 01", "Product 02", "Product 03".
That has to be shown in ascending order on the parameter preview.

Please guide us on this.


Thanks & Regards
Nayana

Offline

#2 2019-01-24 08:28:03

eduardo
Administrator
Registered: 2016-11-01
Posts: 1,327
Website

Re: Sorting on Parameter Values at Report Execution

Hi Nayana,

which kind of parameter are you creating?

Regards,
Eduardo

Offline

#3 2019-01-24 09:29:41

Nayana
Member
Registered: 2018-11-15
Posts: 62

Re: Sorting on Parameter Values at Report Execution

database parameter


Thanks & Regards
Nayana

Offline

#4 2019-01-24 09:49:05

eduardo
Administrator
Registered: 2016-11-01
Posts: 1,327
Website

Re: Sorting on Parameter Values at Report Execution

Hi Nayana,

ok, and which db are you using reportserver with? Where are your metadata tables located?

Regards,
Eduardo

Offline

#5 2019-01-24 09:52:02

Nayana
Member
Registered: 2018-11-15
Posts: 62

Re: Sorting on Parameter Values at Report Execution

database is MariadB AX
metadata also runs on MariaDB


Thanks & Regards
Nayana

Offline

#6 2019-01-24 11:34:29

eduardo
Administrator
Registered: 2016-11-01
Posts: 1,327
Website

Re: Sorting on Parameter Values at Report Execution

Hi Nayana,

this is a known issue (Ticket RS-2602). We noticed though that almost always the values are sorted. But in some cases, e.g. mariaDB, the sorting inside nested queries is ignored.
The problem is that the original query is wrapped and the original sorting is not done in the outer query. We are thinking of a solution for this.

Regards,
Eduardo

Offline

#7 2019-01-24 12:32:34

Nayana
Member
Registered: 2018-11-15
Posts: 62

Re: Sorting on Parameter Values at Report Execution

Thanks & noted.


Thanks & Regards
Nayana

Offline

Board footer

Powered by FluxBB