Generating filter for InitialToggleState

Posted by: nlcandyman on 3 August 2017, 3:18 pm EST

  • Posted 3 August 2017, 3:18 pm EST

    Hi All,



    I am creating a report what contains data which is grouped by a CompanyName within a table.

    The CompanyName field has a 'InitialToggleState' of Collapsed by default.



    Now, if i want to view the details per CompanyName 'Expanded' i can do 2 things:

    1: Set 'InitialToggleState' to Expanded

    2: Expand all the CompanyName details one by one.



    Is is possible to create a filter which f.e. says:

    How would you like the details to be shown;

    Expanded

    Collapsed



    Depending on the value of this filter the report will show the details either Expanded or Collapsed.

    I've tried to put a expression in the InitialToggleState field but this isn't possible (it seems, or i am doing something wrong).



    Might this be possible with use of 'Code' within the report?



    Thanks in advance.
  • Replied 3 August 2017, 3:18 pm EST

    Hello,

    Please take a look at the attached RDLX. I hope it will meet your requirement.

    Regards,
    Prantik

    2011/12/togglevisibility.rdlx
  • Replied 3 August 2017, 3:18 pm EST

    This is exactly what i needed.

    Thanks alot!



    Regards,

    Yorick
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels