Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Is it possible to use .js files inside a custom visual? Every time I try to make .js files that contains React component i get the following error
Also if I rename file from .js to .tsx everything works fine. I tried to install babel and diffrent types of loaders but I get the same error.
HI @DevForDay,
You can take look at the following link about add external library support in custom visual:
Adding external libraries to Power BI visuals - Power BI | Microsoft Learn
Regards,
Xiaoxin Sheng
This does not fix my problem. I Want to write my custom code and store it as .js file. This link is just an explanation for adding external libraries which does not fix my problem.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
11 | |
6 | |
6 | |
2 | |
2 |
User | Count |
---|---|
4 | |
4 | |
3 | |
3 | |
3 |