cancel
Showing results for 
Search instead for 
Did you mean: 

Displaying the ReportFilter

Former Member
0 Kudos

Hi,

I have an input control (Multiple value - Check box or List box type) for the dimension "City", which has more than 200 values. I've added ReportFilter([City]) in a box in the report page. By default, as this input control is set as 'Select all', all the values under 'City' appear inside the box of the report page.

Problem:

The 'Autofit width' option for this 'Report filter' box in the properties window, by default, is checked. So, the width of the box is more and takes 2nd and 3rd pages.

However, when i Un-check this "Autofit width" option for this box, it appears no good.

I would like to limit the width of this 'Report filter' box under 3 conditions:

1. When NOT MORE THAN 3 cities are selected from the City input control, i would like to display only those cities names in the box.

2. When i select more than 3 cities but not all the cities, i would like the box to display "More than 3 cities".

3. When i select all the cities, i would like the box to display "All Cities".

Can anyone help me on what is the formula for applying these conditions pl?

Giri. K

Accepted Solutions (1)

Accepted Solutions (1)

former_member225163
Active Participant
0 Kudos

Hi Giri,

Please refer the below link contains logic to find out number of list of values selected.

http://www.dagira.com/2007/07/06/how-many-values-were-picked-from-a-list/

Please use case statements and modify it to suit your requirement.

Hope this helps. !!!

Thanks,

Bala

Former Member
0 Kudos

Thank you Mr. Bala,

It was much helpful to me.

Answers (0)