Steven Fayers on 28 Jun 2020 14:51:33
Be able to read environment variables from the current machine (Power BI Desktop) either through a dedicated data source, or a built-in function that is equivalent to environ () in VBA or getenv () in java.
- Comments (2)
RE: Function to access environment variables
Hello,
I have a situation where we need a lot of data in the data model on the server but when developing the reports locally we don't need all that data. Therefore I need to have access to an environment variable which can be used to help filter the data depending on whether running on the service or the desktop.
Regards.
Andrew.
RE: Function to access environment variables
Hello,
It would be nice to have access to some environment info. For example I have a situation where I don't have access directly to data source and I need to know if the report is published or in "desktop" to change a data source automatically.
Kind Regards,
Lucian