Page 1 of 1

Filter shows key instead of value

Posted: Thu Mar 09, 2023 10:00 am
by MKA
Dear

I have the an issue with a filter on a report. Repro steps:
  • I have added a data source a view with a column DEPNR (Department number) --> Query: 'Select * from View where DEPNR = @Department'
  • I added another table (DEPARTMENTS) which I want to use as user defined filter. Two columns: DEPNR and NAME
  • I define a variable @Department
Department Variable.png
Department Variable.png (24.18 KiB) Viewed 7691 times
  • In the report I see a filter with all the department names to choose from. So far so good
Filter dropdown.png
Filter dropdown.png (22.42 KiB) Viewed 7691 times
  • Once one value chosen, the key value is used in the report. BUT, the key value is also shown in the filter
Filter choice.png
Filter choice.png (12 KiB) Viewed 7691 times
This is very annoying, because the user does no longer know which one he choose. Is there a possibility to always show the value instead of the key and only use the key in background for querying?

Beste regards
MKA

Re: Filter shows key instead of value

Posted: Thu Mar 09, 2023 10:02 pm
by Lech Kulikowski
Hello,

Please remove the "Allow User Values" option for the variable.

Thank you.

Re: Filter shows key instead of value

Posted: Fri Mar 10, 2023 10:26 am
by MKA
Dear Lech

Thank you very much for your help! It works.

Best regards
MKA

Re: Filter shows key instead of value

Posted: Sun Mar 12, 2023 8:43 pm
by Lech Kulikowski
Hello

We are always glad to help you!