Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Thanks for the help in advance.
I have 2 questions :
1. How one can export JSON data into excel or csv from custom visual on Javascript button click event ?
I want to export JSON data into CSV file from Custom Visual on Javascript button click event. My data size could go upto 100MB. Please let me knwo if you have any sugeestions.
2. How I can fix below exception?
I tried export to excel using windows.open on button click, but I am getting below exception:
Block windows.open in new window because the request was made in sandbox frame whoes "allowed-popups" permissions is not set.
Please let me knwo if anyone knows how to fix this exception.
Total I have 2 things.
Hi @pbiembeded,
Your error is basically that - visuals run in a sandboxed iframe and are not permitted to export data. The only permission currently set is allow-scripts.
It is unlikely that MS will change this, but you can always make a feature request in the GitHub repo for the SDK. There is already one for something similar that you could probably add your voice to.
Regards,
Daniel
Proud to be a Super User!
On how to ask a technical question, if you really want an answer (courtesy of SQLBI)
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
2 | |
2 | |
2 | |
1 | |
1 |