Skip to main content

Power BI

New

Function to access environment variables

Vote (2) Share
Steven Fayers's profile image

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 (1)
Steven Fayers's profile image Profile Picture

a779d9c7 32b8-4068-b22d-59455b5f532b on 02 Sep 2020 07:51:43

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