Forum Discussion
how to handle the power bi embedded tile action using javascript?
Thank you Eric_Zhang for your response. I have used the clustered bar chart in embedded report. I could see the drill down option in other browser, but IE browser does not show the drill down, maximize menu, export option. below I have attached my screens.
Pitchaimuthu wrote:
Thank you Eric_Zhang for your response. I have used the clustered bar chart in embedded report. I could see the drill down option in other browser, but IE browser does not show the drill down, maximize menu, export option. below I have attached my screens.
I can't reproduce that behavior. When I hover the mouse on the visual, the "drill" button just shows up, both in IE(ver IE11) and Chrome. What is your IE version and how you embed the reports? By the way, the snapshot looks more like a tile embedded other than a report, drilling down is not supported in a tile anyway.
In my case, I test with a static HTML.
<html>
<script src="https://microsoft.github.io/PowerBI-JavaScript/demo/node_modules/jquery/dist/jquery.js"></script>
<script src="https://microsoft.github.io/PowerBI-JavaScript/demo/node_modules/powerbi-client/dist/powerbi.js"></script>
<script type="text/javascript">
window.onload = function () {
var embedConfiguration = {
type: 'report',
accessToken: 'yourTokenHere',
embedUrl: 'https://app.powerbi.com/reportEmbed?reportId=8067fc7f-xxxxxx4234ac5a984e'
};
var $reportContainer = $('#reportContainer');
var report = powerbi.embed($reportContainer.get(0), embedConfiguration);
}
</script>
<div id="reportContainer" ></div>
</html>
- Pitchaimuthu9 years agoHelper II
Thank you Eric_Zhang for your response. I have used the IE browser version 11.
I have embedded report only, not in a single tile. In our requirement, we need to have Power BI dashboard need to embedded in asp.net application. So that I have tried single tile, But I could not able get the drill down option when I embedded in single tile. So that I have created single widget in single report, like that I have created all widget in each report. And also I got another issues on a single report with single widget, When I click on a report(widget) it does not affect another report(widget). I could understand, I have embedded each widget in seperate report so that it does not affect. So please give me this also, how to do this?..