Quantcast
Channel: All Developer posts
Viewing all 48576 articles
Browse latest View live

Re: Switching from PBI Embedded to Premium

$
0
0

Hi  ,

Please see my comments in Red

 


 wrote:

We are thinking of purchasing a dedicated capacity for embdedding our PowerBI reports into one of our applications. If we went down this route and then at a later stage we wanted to upgrade to PowerBI Premium, what would be the implications of such a switch?

 

No, there would be no such difficult in switching these. Because all the capacities are assigned to workspace level

 

Would we be able to turn off and stop paying for the embedded capacity and use the capacity in Premium?

 

You can use either Azure Capacity ASK (or) Premium Capacity (EMSKU/PSKU) . Not both parallelly,

 

Would this require any fundamental changes to our code, i.e REST calls to the API?

No change required from the code, the change is just at the workspace level

 

How does the pricing of the capacity in Premium compare to that in embedded? The embdedded is charged at peak renders per hour, but I do not see such a metric for Premium. Nor can I find out exactly how the dedicated capacity of Premium will be charged.

 

Power BI Embedded capacities are particularly attractive to ISVs because they provide the following features that are not matched by Power BI Premium capacities.

 

  • You can automate provisioning Power BI Embedded capacities using PowerShell scripts and Azure templates.
  • Power BI Embedded capacities do not require a monthly commitment; instead you pay by the hour
  • You can pause and resume a Power BI Embedded capacity at any time to save money
  • You can scale a Power BI Embedded capacity up or down in a matter of minutes

Power BI Premium is a tenant-level Office 365 subscription available in two SKU (Stock-Keeping Unit) families:

  • EM SKUs (EM1-EM3) for embedding, requiring a yearly commitment, billed monthly. EM1 and EM2 SKUs are available only through volume licensing plans. You can't purchase them directly.
  • P SKUs (P1-P3) for embedding and enterprise features, requiring a monthly or yearly commitment, billed monthly, and includes a license to install Power BI Report Server on-premises.

Read the article writted by Ted (below) which will give you enough understanding on choosing the capacity model

https://www.linkedin.com/pulse/developing-power-bi-embedding-part-2-ted-pattison?articleId=6455055042079715328

 

Some Reference:

https://docs.microsoft.com/en-us/power-bi/service-premium-what-is

Many thanks


 


Re: Power BI cmdlets Get-PowerBIReport - Only shows reports that are published

Re: Embedded adding two semi colons to report container iframe

$
0
0

FYI:  I submitted a ticket via azure portal, just want to make sure they are aware.

Doc update needed - Power BI Embedded "This content isn't available" and "To view this report, ask"

$
0
0

I had a problem using Power BI Embedded "AppOwnsData" sample. I setup an application account and ran the sample and the report wouldn't load, saying "This content isn't available." I couldn't find any answers online other than "your token is bad." I took the token from the executing code in the debugger and tried using it in the Embedded Playground, which gave me the error message "To view this report, ask the author for access". Then I did the reverse and got a valid token from the API sample (using my own logon which I had working before I started using the application account) and stuffed it into the code in the debugger and that worked. This told me that the code was indeed getting a bad token using the application account. The API doc says the app account only needs these permissions: 

  • Report.ReadWrite.All or Report.Read.All
  • Dataset.ReadWrite.All or Dataset.Read.All

My dataset uses a Gateway, and it appears that Gateway.Read.All permission is also needed on the app account. Because the error messages were so vague and I couldn't find any help, I thought it might be a good idea to post it here for the next person stuck.

 

Microsoft, is there a way to update the API doc to show this permission is required for datasets using a Gateway? Extra points if the error message could be improved! The second error message was pointing at a report access issue, when the root cause was a Gateway permission.

Embedded report not showing mobile view

$
0
0

I have a report that has been given a mobile view. For some reason it won't show correctly  in my embedded website. 

I'm using 

settings: {
            layoutType:models.LayoutType.MobilePortrait
        }

in my config and when I check the report

report.getPages().then(function (pages) {
    pages[0].hasLayout(models.LayoutType.MobilePortrait).then(function (hasLayout) {Log.log(hasLayout);
    })
});

 it returns true so I know it's there. Racking my brains here as to why it won't show correctly. Anyone else having this issue?

The updateSettings function is not changing layout type to the mobile view in the embedded report

$
0
0

I have an embedded report (that already have mobile layout) that I'm trying to change the visualization from default layout to the mobile layout using the updateSettings function like the example below:

 

constnewSettings= {
    layoutType:models.LayoutType.MobileLandscape
};report.updateSettings(newSettings);

 

When I do it after the report being loaded, the report doesn't change the layout.

I'm only able to show the mobile layout when I set the right layoutType when I'm embedding the report. But in the documentation page, it says that we can change the layout type after we load the report.

Is it an error in the javascript SDK or is it expected behaviour?

 

created a Custom Visual with a fixed column

$
0
0

Is it possible to create a custom table that allows you to fix a column or a set of columns?  I do not want a matrix.  I want to keep all my rows and not have everything aggregated.  

 

Is there an example somewhere regarding this?  Very odd its not already an option in Power Bi.

Re: Custom visual - adding borders to visual


Error getting embed token with row level security

$
0
0

Hi All,

 

I am having trouble getting App Only Embed token using C# and also via Postman. 

 

1) I get the OAuth2 Access token for my service principal using App Id and Secret.

2) I try to post on https://api.powerbi.com/v1.0/myorg/groups/{GroupId}/{ReportId}/GenerateToken

 

with the below body:

{
"accessLevel": "View",
"identities": [
{
"username": "UserEmail@Company.com",
"roles": [ "SomeRole" ],
"datasets": ["DatasetId"]
}
]
}

 

Error:

{
"error": {
"code": "InvalidRequest",
"message": "Creating embed token for accessing dataset {DatasetId} requries gateway admin or datasource override effective identity access right"
}
}

Re: Error getting embed token with row level security

Cannot run Power BI on Firefox and IE

$
0
0

Hi, All.

I'm trying to embed my report on my web application by using Service Principal method and it works fine on Chrome. However, it does not work on both Firefox and IE 11. It prompted "Please sign in" button and asked me to sign into Power BI.

Turned on "disable cache" in the network tab, clear cache and cookies did help but it allows Power BI to load on the screen for once only and prompts me to sign in afterward.

Tried these few js libraries but did not help either:

No error was thrown in the console.

 

Need some guidance/tricks/tips on this. Thanks.

Re: Embedded adding two semi colons to report container iframe

$
0
0

We are also having this issue using the Javascript Embed 

Re: Customized visual error

$
0
0

So I got an answer from Power BI custom visual support team, we need to use R3.4.4. Higher versions do not work. Not sure why only lower version is suppoted. 

Re: PowerBi Embedded can not get newest Group (workspace) created.

$
0
0

Hi  ,

Has the product team finished this fix yet? I see this post is more than a year old. 

We are trying the workaround but so far it is not successful.

 

Regards,

Rian

"New Look" - Power BI Embedded

$
0
0

hi PBI Commutity! Anyone knows when the "New Look" will hit Power BI Embedded ie. vertical navigation pane left of report?! Or how to enable it?!

 

kind regards NAJ


Make R visual transparent on report page

$
0
0

Hi Community,

I am searching for a way to make an R visual I am serving with Plotly be transparent when added to my page. Any thoughts?

The image is a snip of the visual I would like to make transparent.

 

polar.PNG

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Thanks for any help offered.

Re: "pbiviz package" does not update visual's capabilities, but "pbiviz start" d

$
0
0

 

 

Is there a similar option for Power BI Desktop. I am trying to test a new version of my visual in Power BI Desktop but it suffers with the same problem that it is loading the approved version from CDN instead of the local pbiviz file that I have. 

 

Thanks

Nishant

Re: combo box with dynamic value

Re: Embedded adding two semi colons to report container iframe

$
0
0

Has anyone heard from support yet?

power bi RLS doesn't render filtered report while using embed token with effective identity

$
0
0

I have ceated a report with RLS and have created a test role, added member and applied DAX filter. While viewing it as test role on power bi desktop it returns the filtered row values but while calling it from application using the embedded token with effective identity it returns the all/complete rows instead of filtered rows. Below is the code for token generation

 

 

Report report = client.Reports.GetReportInGroup(groupId, reportId);
                Dataset reportDataset = client.Datasets.GetDatasetByIdInGroup(groupId, report.DatasetId);
                if(reportDataset.IsEffectiveIdentityRolesRequired==true)
                {
                    generateTokenRequestParameters = new GenerateTokenRequest("view", null, identities: new List<EffectiveIdentity> { new EffectiveIdentity(username: userName, datasets: new List<string> { report.DatasetId }, roles: rolesList) });
                }
                else
                {
                    generateTokenRequestParameters = new GenerateTokenRequest("view");
                }
                token = await client.Reports.GenerateTokenInGroupAsync(groupId, reportId, new GenerateTokenRequest());
                return token;

Please suggest what should i do to get the filtered row values 

 

Viewing all 48576 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>