Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Sign up nowGet Fabric certified for FREE! Don't miss your chance! Learn more
Is there a way to use environment variables inside the custom visual that I can access as
Hi @Anonymous,
The default webpack configuration of powerbi-visuals-tools doesn't expose process.env, so if you want to set up something similar, you must create your webpack configuration using the powerbi-visuals-webpack-plugin. In this configuration, you could, for example, use webpack.DefinePlugin to define an object that passes these values from an appropriate .env file.
Regards,
Daniel
Proud to be a Super User!
On how to ask a technical question, if you really want an answer (courtesy of SQLBI)
Remember that Power BI Service has no concept of "environment variable"
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.