# Checking two dropdown to open a report

**URL:** <https://forum.inductiveautomation.com/t/checking-two-dropdown-to-open-a-report/17130>\
**Category:** Ignition\
**Created:** [February 26, 2018, 10:49am UTC](https://forum.inductiveautomation.com/t/checking-two-dropdown-to-open-a-report/17130 "2018-02-26T10:49:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rea\_21](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/rea_21/32/7999_2.png) [@rea\_21](https://forum.inductiveautomation.com/u/rea_21)\
**Post date:** [February 26, 2018, 10:49am UTC](https://forum.inductiveautomation.com/t/checking-two-dropdown-to-open-a-report/17130/1 "2018-02-26T10:49:45Z")

</div>

Hi everyone! this forum is very helpful during my job!

This is my problem: I need to compare the selected value of two dropdown and connect the choice to the Report Path of a report viewer.  
example:  
if the selected value of dropdown is A and the selected value of dropdown is B i need to see on report viewer the report “reportAB”…(but each dropdown are populated with a query).

I tried to create an if on “report path” and it works, but when i try to make my choice from the two dropdown, the if seems to work because in the property editor I see the report path changing but it seems like the parameters of each report (opened by the if) are losting connection with dropdown. So I see the right report on the viewer, but the result of the search is wrong.  
Hope I explained well. Thanks .

---

<div class="post-metadata">

**Author:** ![bfuson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bfuson/32/4597_2.png) [@bfuson](https://forum.inductiveautomation.com/u/bfuson)\
**Post date:** [March 20, 2018, 7:46pm UTC](https://forum.inductiveautomation.com/t/checking-two-dropdown-to-open-a-report/17130/2 "2018-03-20T19:46:29Z")

</div>

Were you able to solve this issue? Can you provide more information or screenshots if you’re still having trouble?
