Forum Discussion

djordje369's avatar
djordje369
Frequent Visitor
1 year ago

Power BI Template app query parameters

Hello everyone, recently i created template app with simple list of values parameter and it works perfectly fine on installation however when i switch this parameter from list of values to query (result of the query is list as well), nothing happens and it seems its not supported yet but i cant find this limitation in documentation. Can somebody explain this behaviour? 

Note: query parameter works in power bi desktop and dropdown is populated with query result

 

7 Replies

    • djordje369's avatar
      djordje369
      Frequent Visitor

      Hi, yes i use text field as output and i followed documentation. Somehow on installation wizard of template app i get parameter as simple input and not populated dropdown.. I will also include image of parameter in Power BI Desktop.Query ParameterQuery that retrieves environments

      • Expiscornovus's avatar
        Expiscornovus
        Most Valuable Professional

        Thanks for sharing these details. How did you configure that parameter in the template app itself?

         

  • Expiscornovus's avatar
    Expiscornovus
    Most Valuable Professional

    djordje369,

     

    I tried to recreate what you had. With the below setup it seems to accept my value when installing the app and filter for rows from my other query (in my example I used a table which is called issues and uses the environment parameter to filter the rows).

     

    Similar parameter

     

     

    Current value parameter

     

     

    SelectRows example which uses the parameter (which is used in a table visual).

     

     

    Template App parameter setup

     

     

    Connect your data

     

     

    Value for the Query

     

     

    Report with Production data (based on that query parameter)