reports
14 TopicsMobile view is not being shown for embedded powerbi report
We have created a PowerBI report having both the desktop verion and mobile virson. Its showing desktop and pone view properly when we are testing at following sample site after putting correct information. https://microsoft.github.io/PowerBI-JavaScript/demo/v2-demo/index.html But when we open the website on mobile It is still showing the desktop version of the report. File version used of powerbi.js file is 'powerbi-client v2.5.1'. The HTML and javascript used is provided below We are also appending '&isMobile=true' with embed report url. Are we missing any reference to show the mobile version. <div id="reportContainer" style="width: 100%; height: 610px" aria-atomic="True" aria-multiline="True" aria-multiselectable="True" aria-orientation="vertical"> </div> <script src="~/Scripts/powerbi.js"></script> <script src="https://code.jquery.com/jquery-3.2.1.min.js"></script> <script> $(document).ready(function() { var txtAccessToken = "@Model.EmbedToken.Token"; var txtEmbedUrl = "@Html.Raw(Model.EmbedUrl)"; var txtEmbedReportId = "@Model.Id"; var tokenType = $('input:radio[name=tokenType]:checked').val(); var models = window['powerbi-client'].models; var permissions = models.Permissions.All; var config = { type: 'report', tokenType: tokenType == '0' ? models.TokenType.Aad : models.TokenType.Embed, accessToken: txtAccessToken, embedUrl: txtEmbedUrl, id: txtEmbedReportId, permissions: permissions, settings: { layoutType: models.LayoutType.MobilePortrait } }; // Get a reference to the embedded report HTML element var embedContainer = $('#reportContainer')[0]; var report = powerbi.embed(embedContainer, config); report.off("loaded"); // Report.on will add an event handler which prints to Log window. report.on("loaded", function() { Log.logText("Loaded"); }); report.on("error", function(event) { Log.log(event.detail); report.off("error"); }); report.off("saved"); report.on("saved", function(event) { Log.log(event.detail); if (event.detail.saveAs) { Log.logText('In order to interact with the new report, create a new token and load the new report'); } }); }); </script>Solved20KViews0likes8CommentsIssue with Drill-Through URL clickable when expression says Nothing
Please help! The logic was working perfectly fine, until last week update on service then the nothing became clickable: our loic is if payment amount is blank we use nothing to disable the click to drill-through and if it has a dollar amount we construct a url and the drill-through gets enabled. New behavior that broke our production reports is the when URL is Nothing became clickable and it take users to this url https://paginated-reports.powerbi.com/# Please help as this is affecting our client in embedded capacity. Thanks, J657Views1like1CommentPowerbi Usage powershell scripts failed
Dear All, I was running this below mentioned powershell scripts for the last 8 months but last 5 days i am getting error and the scripts are not running and getting the error. Please help. $connectsplat = @{ Certificatefilepath = 'C:\Windows\system32\Exocert.pfx' Certificatepassword = $(ConvertTo-SecureString -String "abc" -AsPlainText -Force) Appid = '123' Organization = "abc.ONMICROSOFT.COM" } Connect-ExchangeOnline @connectsplat Search-UnifiedAuditLog -StartDate (Get-Date).AddDays(-180) -EndDate (Get-Date) -RecordType PowerBIaudit -ResultSize 5000 | ConvertTo-Csv | Out-File C:\FinalDeployment\Powerbiusage\PowerBIAuditLog.csv error : "Write-ErrorMessage : One or more errors occurred. At C:\Users\s.muthu\AppData\Local\Temp\7\tmpEXO_2krypd2t.zsm\tmpEXO_2krypd2t.zsm.psm1:1120 char:13 + Write-ErrorMessage $ErrorObject + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Search-UnifiedAuditLog], Exception + FullyQualifiedErrorId : [Server=DX1P273MB0490,RequestId=b2812735-eb75-c183-aba7-29b9b590442e,TimeStamp=Mon, 22 May 2023 09:17:19 GMT],Write-ErrorMessage"728Views0likes1CommentHow to add power bi reports into my personal erp software
hi experts, iam new to power bi, we are planning to move from other bi tool to power bi. but i have one doubt in that how can i see my dashboards into my erp software please help me(any services i want to add) thanks in advance4.6KViews0likes4CommentsHide Custom Filters from Filters Pane
Hello Is there a way to hide the custom filter added in Power BI Embedded in iframe? I have added a custom filter like this. var filter = new models.BasicFilter({ table: "USERS", column: "Role" }, "Manager", [""]); The Filters pane has other filters that were created while creating this report.I want to hide this filter alone in Filters pane. Please guide me how I can achieve this. Thanks!3.9KViews0likes5CommentsPower BI developer license
Hi Community, I have just received a request for a power bi developper license, is there any such license and how much does it cost ? As I know there is only two power bi licenses beside the free version. the Pro license (9,99 $/user/month) and the premium license whose cost is basd on the cores number. Thank you in advance for your clarifications.5.1KViews0likes1Comment