Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric Ideas just got better! New features, better search, and direct team engagement. Learn more

Proposal: HTML Content with JavaScript Support in Power BI

Problem Description


Power BI currently allows embedding HTML content through custom visuals, but JavaScript execution is not supported. This limitation restricts interactivity, prevents dynamic content updates, and makes it difficult to integrate external APIs or custom logic.

 

Proposed Solution

 


Microsoft could introduce a new visual: "HTML Content with JavaScript", which would allow Power BI users to embed both HTML and JavaScript in a controlled environment.

 

This visual could support:

 

Inline JavaScript execution – Allow scripts within <script> tags to run.

Event-based interactivity – Enable JavaScript functions to react to user inputs, such as clicks or hover actions.

Power BI Data Context Integration – Allow JavaScript to access Power BI fields or filters dynamically.

Secure Execution Sandbox – Prevent security risks by limiting access to external resources and enforcing strict mode policies.

 

Use Cases


Custom Visual Effects: Create animated charts, dynamic tooltips, or real-time UI updates.

External API Integrations: Fetch and display live data from web services without Power Automate.

Advanced Filtering & User Interaction: Enable form-based inputs, advanced filtering options, or custom UI elements.

 

Benefits


Expands Power BI’s Capabilities – More flexibility to design interactive and dynamic dashboards.

Improves User Experience – Allows richer visuals and better interactivity.

Reduces Workarounds – Eliminates the need to embed Power Apps or external web components for advanced functionality.

Status: New