Quantcast
Channel: Service topics
Viewing all 61727 articles
Browse latest View live

Live Connection to a shared semantic model with subsequent publishing to the Power BI Service

$
0
0

Dear Experts: 

I am currently learning the wonderful world of Power BI. 

I am having a basic question: 

Say I have Build Permission on a semantic model and connect to this shared model from the Power BI Desktop through a live connection.
I do not have access to any workspace in the Power BI Service.
Does this mean I will not be able to publish the Power BI report (that I will build from the shared semantic model) to the Power Bi Service? Am I getting this right?
Expert Help is very much appreciated. Thank you very much in advance.

Best Regards Andreas


Power BI Embedded - Paginated Report Visual

$
0
0

I'm seeking support troubleshooting a paginated report visual error received through Power BI embedded analytics using the embed for customers or app owns data method.  Below, I've pasted the visual error message I'm encountering when trying to populate the report in the Power BI Embedded Analytics Playground.  In the Playground, I input the embed token, embed url, and tenant id.  Other visuals on the same page such as a clustered bar chart and mult-row card do render successfully, but not the paginated report visual.  I've read the paginated report visual considerations and limitations section in MSFT learn, which led me to the embed for customers method.  There is no row-level security or object level security applied and the intended audience is the general public.  I would simply use publish to web functionality, but the limitation suggested i needed to go with app owns data.  I've setup a service principal and client secret to authenticate.  The service principal has microsoft graph user.read and power bi service report.read.all api permissions granted for the tenant.  In the Power BI service, I believe i've extended all the necessary tenant setting & workspace permissions to the service principal too.  The paginated report is being sourced from the same semantic model as the report featuring the paginated report visual.  All artifacts are contained in the same workspace which is assigned an F8 capacity.  

 

I welcome any advice on how to troubleshoot.  

 

An unexpected error occurred

Timestamp: 2025-02-28T15:51:12.422Z
Root activity ID: 1bae75ba-ff90-4a99-ab36-59bb0062204f
Session ID:
Tenant ID: undefined
Cluster: https://WABI-US-CENTRAL-B-PRIMARY-redirect.analysis.windows.net
Report ID:
Capacity ID: undefined
ReportViewerVersion: undefined

PBIP and RDL folder structures

$
0
0

We have 1000 RDLs on a SSRS 2016 server we're migrating to the Power BI Service, broken up into ~50 or so departments/folders on th server. 

 

As examples, the structure is something like a "Finance" solution in visual studio with 100 RDLs all with their own data sets. "Audit" solution with 25 RDLs. etc. 

 

In the the power BI service we're going to start with a "Finance" workspace that will have the 100 RDLs to start, and then going forward, net new reports will be Power BI reports. So all "Finance" reports are in 1 place. 

 

I started a PBIP project in Power BI Desktop called "Finance" but now it seems i am required to have a "Finance" report which i don't want.

 

How can i create a PBIP for "Finance" without the report? Or should I create a Finance root folder first and each new power bi report will typcally be it's own project and the name of the report is typically the project name?

 

I don't quite understand if a Project is for grouping similarly themed reports (even with different data sets) or if a Project is intended more to group an individual report's components? The legacy 100 RDL's use the 3 same SQL data sources, but have wildly different datasets/queries behind each of them. If these were in the power BI infrastcuture, it sounds like these would end up being 100 different projects? But if say 2 reports did use the same data set, they could be in the same PBIP?

 

Where should my existing Finance RDL's live in this folder structure? inside the PBIP Finance.Report folder? or in a root Finance folder i should create? so RDLs and Power BI reports are all in the same place. 

Union Power BI Service Datasources

$
0
0

Hi there!

I've got a large dataset that is somewhat slow to refresh and my team would like the data updated every 30 minutes. I've been thinking about how I can cache the stale data in one dataset in a PBI capacity workspace which will be refreshed daily. Then create another dataset for the current data which will be refreshed every 30 minutes. I'm struggling with the next step: how do I union the two datasets together in PBI? Is it possible? 

Simultaneous Refresh?

$
0
0

Let's say I have a PBI report that uses a dataflow. If the dataflow is currently refreshing (takes 10 minutes), what happens if the PBI report also tries to refresh while the dataflow is refreshing? 

 

Worst case I'm imagining the dataflow only "partially filled" with data so that the PBI report ends up refreshing with only partial data. Best case I'm hoping the dataflow is always completed filled, and the refresh is more of an instantaneous event AFTER the dataflow was already refreshed on the backend.

Power Query (Dataflow) Sum a Column from a Different Table

$
0
0

Hello.

 

Is there an easy way to sum a field that sits in a different table using Power Query (Dataflow)?  Below is an example.  I have a Sales Table that tracks transactions by customer.  And, I have a Product Sales Table that provides the same transactions but with line level detail such as SKU, QTY and Extended Price.  I want to be able to add a field in the Sales Table that captures total number of Engines per transaction by summing the QTY field in Product Sales Table.

 

etane_0-1740769099568.png

 

I am able to achieve this by creating a conditional column (sum if product is Engine) and group by transaction # in the Product Sales Table then merge with the Sales Table expanding on the conditional column.  

 

However, is there a way to do the same thing with just a custom column?  I am not good with M code so hopefully it could be done in calculated column.  

 

Thanks.

 

total in report not Adding all values in a table column

$
0
0

Hi All,

I have a column in my report that shows how many inspections are completed this year, by location.

I have a measure that counts the number of inspections completion for this year:

Completed_Inspections_This_Year =
CALCULATE(
    DISTINCTCOUNT('Asset_Inspections'[Last inspection Date]),
    FILTER(
        'Asset_Inspections',
        YEAR('Asset_Inspections'[Last inspection Date]) = YEAR(TODAY())
    ),
    ALLEXCEPT('Asset_Inspections', 'Asset_Inspections'[Loc])
)

 

I have the totals value on, and it counts 6 rows, but there are 7 in the table as in the below screenshot

joef_1-1740774692296.png

Does anyone know why it would count only 6?  There are clearly 7 in the table 🙂

 

TIA,

Joe

 

Colors Change when Publishing Report

$
0
0

Hello,

 

I've noticed this issue for a while, and it appears to have been around for a while. When I publish my report, some of the colors change for, say, a line chart. This is incredibly annoying, as I used set hex codes in a theme that are company colors. I don't want to go in after and change the colors in the published report every single time I publish.

 

Is there a fix for this? Is this even a bug that has been reported and acknowledged? All the answers on the forum are not fixes, they are bandaids. I should be able to publish a report, and it looks the same way it does on the desktop version.

 

 

Here is my chart; in the desktop, it looks fine. When I publish, the blue line at the bottom is also the yellow color.

shaley_0-1740779779267.png

 


Operation returned an invalid status code 'Forbidden'

$
0
0

I have .net8 blazor web application and tring to embed Power BI report.  

 

I'm trying to access Power BI report using Service Principal.

I can get to GetReportInGroup() but returns "Operation returned an invalid status code 'Forbidden'" error when trying to call GenerateTokenAsync(). 

It seems like the error happens when Power BI API is returning the report's access token.

 

It was working fine couple days ago, and now it is returning the error. 

 

I have the following licenses.

juwonp_0-1740780638906.png

 

Any advice would be much appreciated!

 

Thanks,

Juwon

 

 

 

 

 

// Authenticate the service principal, and get an access token which will be used to authenticate the app's requests to Power BI REST API public async Task<string> GetAdToken() { var tenantId = _configuration["TenantId"]; var clientId = _configuration["ClientId"]; var clientSecret = _configuration["ClientSecret"]; var authorityUri = new Uri($"https://login.microsoftonline.com/{tenantId}"); var app = ConfidentialClientApplicationBuilder .Create(clientId) .WithClientSecret(clientSecret) .WithAuthority(authorityUri) .Build(); var powerbiApiDefaultScope = "https://analysis.windows.net/powerbi/api/.default"; var scopes = new string[] { powerbiApiDefaultScope }; try { var authResult = await app.AcquireTokenForClient(scopes).ExecuteAsync(); return authResult.AccessToken; } catch (Exception ex) { return ex.Message; } } // Retrieve the necessary info to embed a Power BI report in the app public async Task<EmbeddedReportViewModel> GetReportEmbedding(string workspaceId, string reportId) { string accessToken = await GetAdToken(); // Create a Power BI client which will interact with Power BI's REST API var tokenCredentials = new TokenCredentials(accessToken, "Bearer"); var urlPowerBiServiceApiRoot = "https://api.powerbi.com/"; var pbiClient = new PowerBIClient(new Uri(urlPowerBiServiceApiRoot), tokenCredentials); // Fetch meta data for the desired Power BI report var workspaceIdGuid = new Guid(workspaceId); var reportIdGuid = new Guid(reportId); var report = pbiClient.Reports.GetReportInGroup(workspaceIdGuid, reportIdGuid); // Generate embed token which grants permission to view the report var tokenRequest = new GenerateTokenRequest(TokenAccessLevel.View, report.DatasetId); var embedTokenResponse = await pbiClient.Reports.GenerateTokenAsync(workspaceIdGuid, reportIdGuid, tokenRequest); var reportViewModel = new EmbeddedReportViewModel( report.Id.ToString(), report.Name, report.EmbedUrl, embedTokenResponse.Token ); return reportViewModel; }

 

 

 

 

 

Error when embedding Power BI report in app: Operation returned an invalid status code 'Forbidden'

$
0
0

I am embedding a Power BI report in a Blazor web app. It was working fine until today, when it suddenly stopped working. Now, navigating to a page in the app which contains an embedded Power BI report results in the following error:

Error: Microsoft.Rest.HttpOperationException: Operation returned an invalid status code 'Forbidden'

 

The app uses a service principal to authenticate with the Power BI workspace.

 

Power BI license info:

mariack_0-1740781771787.png

 
App code:
Below is the Blazor code that I'm using to generate the info for embedding the report in the app, and the error arises in the "GenerateTokenAsync()" line:

 

 

// Retrieve the necessary info to embed a Power BI report in the app public async Task<EmbeddedReportViewModel> GetReportEmbedding(string workspaceId, string reportId) { var tenantId = _configuration["AzureAd:TenantId"]; var clientId = _configuration["AzureAd:ClientId"]; var clientSecret = _configuration["AzureAd:ClientSecret"]; var authorityUri = new Uri($"https://login.microsoftonline.com/{tenantId}"); var app = ConfidentialClientApplicationBuilder .Create(clientId) .WithClientSecret(clientSecret) .WithAuthority(authorityUri) .Build(); var powerbiApiDefaultScope = "https://analysis.windows.net/powerbi/api/.default"; var scopes = new string[] { powerbiApiDefaultScope }; var authResult = await app.AcquireTokenForClient(scopes).ExecuteAsync(); string accessToken = authResult.AccessToken; // Create a Power BI client which will interact with Power BI's REST API var tokenCredentials = new TokenCredentials(accessToken, "Bearer"); var urlPowerBiServiceApiRoot = "https://api.powerbi.com/"; var pbiClient = new PowerBIClient(new Uri(urlPowerBiServiceApiRoot), tokenCredentials); // Fetch meta data for the desired Power BI report var workspaceIdGuid = new Guid(workspaceId); var reportIdGuid = new Guid(reportId); var report = pbiClient.Reports.GetReportInGroup(workspaceIdGuid, reportIdGuid); // Generate embed token which grants permission to view the report var tokenRequest = new GenerateTokenRequest(TokenAccessLevel.View, report.DatasetId); var embedTokenResponse = await pbiClient.Reports.GenerateTokenAsync(workspaceIdGuid, reportIdGuid, tokenRequest); var reportViewModel = new EmbeddedReportViewModel( report.Id.ToString(), report.Name, report.EmbedUrl, embedTokenResponse.Token ); return reportViewModel; } ​

 

 

Any help is very appreciated! 

Thank you,
Maria

Data refresh not working : OK on desktop, NOK on Service - 'dynamic data sources'

$
0
0

I have a properly working powerbi in desktop that I want to move to the Service.

 

When trying to trigger a data refresh I get the error (freele translated from Dutch) 'This dataset contains a dynamic data source. As a result this data set will not be refreshed. See aka.ms/'

 
The dataset comes from a series of queries.
These queries are 
  • generic queries functions : implementation of a SOAP API in custom query power m code. These rely for its data to come in by a call like: "Web.Contents(baseurl, [RelativePath=apiEndPoint, Content=cnt])"
  • the actual data queries: calling the generic qury functions based on config data
  • a calculated custom Date table
  • tables which have a 'manually written' source. These contain configuration data for the web queries and the Date table calculation.  These use code like "Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("pZTbbsIwDIbfhe ..."
  • parameters which contains very high level config for the called functions (like: use a boolean to define wether to use production or test URLs, the productionURL and the  testURL)
cdebackere_0-1740831556473.png

 

When check the settings as suggested I indeed see:
cdebackere_0-1740829769146.png

 

But what is causing this?

- the fact I have  manually entered these parameters of configuration tables?

- the fact that some test query's are set to 'do not load' or 'do not refresh'?

- ...

 

And what to do to prevent this error?

 

Thx for your advice,

Christof

Report Downloading Issue from Power BI service

$
0
0

I have created a report in the workspace, which i have admin access in the power BI service(fabric). I am not able to download that particular report or  reports in that workspace. But, i have copied one report from other workspace, that i can download it. 

I cannot see any tenent level setting in the admin portal. 

Azure Analysis Services to Power BI Premium migration

$
0
0

Hi!

I have azure analysis services instance and would like to migrate to Power BI Premium.


I have implemented aliast for my AAS based on that article: https://docs.microsoft.com/azure/analysis-services/analysis-services-server-alias

 

In effect end users can use 'link://...' instead of default 'asazure://' URL.

 

I thought having an alias would be easier to migrate, because users could still use 'link://' URL instead of a new one what will come from Power BI service 'powerbi://'. 

My question is: is it possible to keep an alias and migrate to Power BI Premium? I don't want to use "Azure Analysis Services migrations" option in Power BI service as there are many conditions to be met.

Gateway datasource limit breaking ISV use case

$
0
0

We are an ISV using Power BI Embedded to embed reports in our web application.  The data sources are MySQL databases.

 

We have a setup where every customer (58k+) has its own database, its own workspace, etc...  These workspaces are all refreshed daily through a single gateway cluster (7 gateway servers).  The complete setup is automated using the Power BI REST API.

 

We noticed lately that Microsoft is imposing limits in the Power BI service, probably to address performance.

 

Creating more than 1000 gateway datasources fails on new gateway cluster with the following error:

{"error":{"code":"DMTS_PowerBIDataMovementGatewayExceededDatasourceLimit","pbi.error":{"code":"DMTS_PowerBIDataMovementGatewayExceededDatasourceLimit","details":[{"code":"DM_ErrorDetailNameCode_UnderlyingErrorMessage","detail":{"type":1,"value":"Gateway 'bd45b391-782b-4051-9330-9bc0c6c3f719' has exceeded the datasource limit. Delete some existing datasources on this gateway before creating more."}}],"exceptionCulprit":1}}}

 

This limit completely blocks the ISV setup.  At the same time, they introduced Service Principal Profiles, which seems to encourage the ISV setup.  With SPP you can easily get around the 1000 workspaces limit on a single user or service principal.

 

So our question is, how can an ISV handle 1000+ gateway datasources?  The documentation seems to hint on using Service Principal Profiles as well for gateway datasources, but I could not get that one working.  Even when creating gateway datasources and making sure that the only gateway datasource user is a SPP, it still gives the error.

 

https://learn.microsoft.com/en-us/data-integration/gateway/service-gateway-onprem-faq#what-do-i-need-to-do-if-i-reach-the-maximum-limit-of-1-000-data-sources-on-a-gateway-cluster--and-how-do-i-avoid-reaching-this-limit-
It mentions: "...How do I avoid reaching this limit? If you're an ISV or any other Power BI embedded app owner with many customers, use service principal profiles for multi-tenancy apps in Power BI embedded to avoid this limit for gateways (personal mode only)..."

I need to cancel Power BI subscription because it's linked to an enterprise account.

$
0
0

Preciso cancelar a assinatura do Power BI porque ela está vinculada a uma conta corporativa. Tentei várias maneiras de cancelar, incluindo entrar em contato com a TI da empresa, mas sem sucesso.

Não consigo acessar a administração da minha conta para cancelar e preciso de suporte para isso.


Report Home Page

$
0
0

Hi,

After publishing my report to service ,can user be able see Home page of report instead of PowerBI login page ,workspace ,menu etc 
Can we do the same setting for client login id?
I can share the link directly but any other option excluding that ,if they have login id and password

TIA

Allow external users (outside organization) to edit reports

$
0
0

Hi all,

 

I shared a report and semantic model to external user and granted them build access. The external user was able to create a report using the shared semantic model, but after saving it, they can no longer edit it.

 

How can I enable the external user to edit the report they created?

Allow external users (outside organization) to edit reports

$
0
0

Hi all,

 

I shared a report and semantic model with an external user and granted them build access. The external user was able to create a report using the shared semantic model, but after saving it, they can no longer edit it.

 

How can I enable the external user to edit the report they created?

How to display a popup message in the scren when no data is loaded?

$
0
0

Hi Team,

 

How to display a popup message or information message in the screen when 'Aplication Name' slicer is empty or null.?

Somehow i have to display a message when accessing the url if it shows empty screen.

How to achieve it?

 

display_message.png

 

 

 

 

Thanks and Regards,

Siva

Azure Data Lake Gen2 Storage - http status:['Unauthorized']

$
0
0

Sorry to bother, I'm usually able work out issues with a bit of googling however this one has me pulling my hair out.  I have tried to log a support ticket but i cant find my premier access ID or contract password, i dont think we even have them without paying extra for support. 

Setup
PPU licenses 
UK Business
2 Workspaces, the one having issues is the one connected to a Data Lake Gen2 Storage Account. 

Since Friday all the dataflows have been failing on this Workspace. 
A configuration error was encountered while using ADLS filesystem: Forbidden. error message: '' http status:['Unauthorized']"}

When testing the azure connections for the same blob storage within Manage Connections and Gateways

PMGJwat_1-1740993577504.png

 

I have tried to change the connection within the workspace settings however it will not alow me to save. This Storage account is brand new and has 0 files within it. 

 

PMGJwat_0-1740993514133.png

 

i have also tried to run a deployment pipeline to move all the flows to a new workspace so i can set this up again however this errors. 

PMGJwat_2-1740993788980.png

 





Viewing all 61727 articles
Browse latest View live


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