Forum Discussion

Sikandar's avatar
Sikandar
Regular Visitor
9 years ago

OS user as parameter?

Hi,
Is there a way we can pass user name in query so each user can download data from a table based on this parameter while user should not be able to change the query. We have oracle database and data in a table for different users so wants to restrict. Any assistance will be appreciated. Thanks

5 Replies

    • Sikandar's avatar
      Sikandar
      Regular Visitor
      Hi Scottsen,
      Thanks for the update but seems this link not related to desktop version. Waiting for more inputs. Thanks
      • v-huizhn-msft's avatar
        v-huizhn-msft
        Microsoft Employee

        Hi Sikandar,

        >>We have oracle database and data in a table for different users so wants to restrict

        The different uses can get different data, they filter the table based on their name? If it is, you need to create a parameter containing all name combinations for differents. Or you also use parametor in Power Query, please review the following article which shows the detailed operations.

        POWER BI DESKTOP QUERY PARAMETERS, PART 1

        Best Regards,
        Angelia