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

Export on Excel doesn't keep the format columns

$
0
0

Good morning, 

we are noticing that if you try to export on excel from power bi Service and the user is using a "Matrix" Visual. The export doesn't keep the same columns but instead reverse the table by row. 

 

Do you have a suggestion to keep the format columns also for a Matrix Visual?

Thanks 

 


Scheduled refresh error "This dataset includes a dynamic data source" with different base URLs

$
0
0

So I have an unusual use case. I have created a dataset that goes out to each of the 32 NFL teams and downloads:

 

Their roster (5 tables)

Their injury report (1 table)

Their depth chart (1 table)

 

https://www.azcardinals.com/team/player-roster

https://www.atlantafalcons.com/team/player-roster

https://www.chicagobears.com/team/player-roster

(29 more similar URLs)

https://www.azcardinals.com/team/injury-report

https://www.atlantafalcons.com/team/injury-report

 

(30 more)

https://www.azcardinals.com/team/depth-chart

https://www.atlantafalcons.com/team/depth-chart

(30 more)

 

This way I can look at each team's website, who is on the active roster, who is listed under COVID-reserve, injured reserve, etc., if someone missed practice I can relate that to the depth chart and see if the starter is injured. It's very neat. This is a simplified query with just three teams (but yields the same problem) so you can follow along if you'd like:

 

let 
TeamList = {
"azcardinals", "atlantafalcons", "chicagobears"
},

Get_DepthChart = (teamName as text) =>

/* extracts table from: www.foo.com/team/depth-chart */
let
Source = Web.BrowserContents("https://www." & teamName & ".com/team/depth-chart"),
#"Extracted Table From Html" = Html.Table(Source, {{"Column1", "DIV[id='scroll-offense'] > DIV.d3-o-table--horizontal-scroll > TABLE.d3-o-table.d3-o-table--row-striping.d3-o-table--detailed.d3-o-depthchart > * > TR > :nth-child(1)"}, {"Column2", "DIV[id='scroll-offense'] > DIV.d3-o-table--horizontal-scroll > TABLE.d3-o-table.d3-o-table--row-striping.d3-o-table--detailed.d3-o-depthchart > * > TR > :nth-child(2)"}, {"Column3", "DIV[id='scroll-offense'] > DIV.d3-o-table--horizontal-scroll > TABLE.d3-o-table.d3-o-table--row-striping.d3-o-table--detailed.d3-o-depthchart > * > TR > :nth-child(3)"}, {"Column4", "DIV[id='scroll-offense'] > DIV.d3-o-table--horizontal-scroll > TABLE.d3-o-table.d3-o-table--row-striping.d3-o-table--detailed.d3-o-depthchart > * > TR > :nth-child(4)"}, {"Column5", "DIV[id='scroll-offense'] > DIV.d3-o-table--horizontal-scroll > TABLE.d3-o-table.d3-o-table--row-striping.d3-o-table--detailed.d3-o-depthchart > * > TR > :nth-child(5)"}}, [RowSelector="DIV[id='scroll-offense'] > DIV.d3-o-table--horizontal-scroll > TABLE.d3-o-table.d3-o-table--row-striping.d3-o-table--detailed.d3-o-depthchart > * > TR"]),
#"Changed Type" = Table.TransformColumnTypes(#"Extracted Table From Html",{{"Column1", type text}, {"Column2", type text}, {"Column3", type text}, {"Column4", type text}, {"Column5", type text}})
in
#"Changed Type",
List_DepthChartTables = List.Transform(
TeamList,
each Get_DepthChart(_)
),
#"Converted to Table" = Table.FromList(List_DepthChartTables, Splitter.SplitByNothing(), null, null, ExtraValues.Error),
#"Expanded Column1" = Table.ExpandTableColumn(#"Converted to Table", "Column1", {"Column1", "Column2", "Column3", "Column4", "Column5"}, {"Column1.Column1", "Column1.Column2", "Column1.Column3", "Column1.Column4", "Column1.Column5"})
in
#"Expanded Column1"

 

However, when I try to set up a scheduled refresh in the Power BI Service, I get the following error:

 

"This dataset includes a dynamic data source. Since dynamic data sources aren't refreshed in the Power BI service, this dataset won't be refreshed. Learn more: https://aka.ms/dynamic-data-sources."

 

Okay, so let's wander over to the URL and see what it says (emphasis mine):

 

"A dynamic data source is a data source in which some or all of the information required to connect cannot be determined until Power Query runs its query, because the data is generated in code or returned from another data source. Examples include: the instance name and database of a SQL Server database; the path of a CSV file; or the URL of a web service.

 

In most cases, Power BI datasets that use dynamic data sources cannot be refreshed in the Power BI service. There are a few exceptions in which dynamic data sources can be refreshed in the Power BI service, such as when using the RelativePath and Query options with the Web.Contents M function. Queries that reference Power Query parameters can also be refreshed."

 

Indeed, doing some Googling Binging shows that the RelativePath and Query options are a workaround to this error.

 

https://medium.com/datadriveninvestor/setting-a-scheduled-refresh-on-a-dynamic-data-source-in-power-bi-409ccec7337b

https://blog.crossjoin.co.uk/2016/08/16/using-the-relativepath-and-query-options-with-web-contents-in-power-query-and-power-bi-m-code/

https://blog.crossjoin.co.uk/2016/08/23/web-contents-m-functions-and-dataset-refresh-errors-in-power-bi/

 

As Chris Webb writes (emphasis once again mine):

"The problem is that when a published dataset is refreshed, Power BI does some static analysis on the code to determine what the data sources for the dataset are and whether the supplied credentials are correct. Unfortunately in some cases, such as when the definition of a data source depends on the parameters from a custom M function, that static analysis fails and therefore the dataset does not refresh."

 

However, each of these solutions are with the same base url. www.domain.com/q=24601, www.domain.com/q=31415 etc.

Here it's www.domain1.com/blah www.domain2.com/blah, which doesn't work with RelativePath in Web.Contents().

 

Excerpted from the WebContents() documentation:

 

"The record can contain the following fields:

  • RelativePath: Specifying this value as text appends it to the base URL before making the request."

 

So my RelativePath savior doesn't work because it only appends to the end of the base URL. Phooey.

 

Loading each table individually is not practical, as there are 224 of them!

 

I'm completely stuck and don't know where to go from here. Is this a Power Automate situation? (I've never used Power Automate before, but I can go with the flow if that's my only good option, but I would really like to stay in Power BI if I can.)

Hide "unwanted" workspaces

$
0
0

Good morning, 

In the past in the organization several teams have been created and also a related workspace. 

We actually want to keep just a "range" of workspaces. 

I have already disable the Workspace creation but I am wondering how to clean the situation without deleting the teams causing "the mess". 

 

Thanks 

 

Clustered bar charts show strange behaviour on dashboards

$
0
0

Hi all,

I'd like to discuss a strange behaviour seen on some clustered bar charts: actually some dashboard intermittently shows a strange order of values (in the examlple gray bar should not be there as the first item has only red values).

By investigating this behaviour, using Focus mode and underline report, we where able to undestand that it's caused in some way by the size of the tile.

 

arcellie_0-1603098828431.png

 

We're sure this is a new behaviour which is appearing randomly since some weeks ago.

Could be a bug created by some update? Is anyone experiencing this kind of issue?

 

Actually there is not a proper workaround as the tiles have been configured with the maximun width+height possibile.

Issue is on mobile app as well.

 

Thanks in advance.

 

Can't display the visual - not working for just 1 person

$
0
0
Hello everybody,
 
once in a while somebody from our organizations has a problem with viewing a particular visual in a report.
The problem is, the person is the only one who has this visual "broken".
 
They get the "Can't display the visual" and in See more is following:
Couldn't load the data for this visual
Couldn't retrieve the data for this visual. Please try again later.
Please try again later or contact support. If you contact support, please provide these details.
Activity ID: 6a9f71a4-98e4-4d4a-952b-31269d988b49
Request ID: 35a4f7c1-cde3-acb1-08d3-14c1e2ffea2c
Correlation ID: 8f51f870-20e6-b18b-6e7b-6af55fa4ce78
Time: Mon Oct 19 2020 11:40:10 GMT+0200 (Central European Summer Time)
Service version: 13.0.14487.67
Client version: 2010.1.03355-train
Cluster URI:
 
If I re-do the visual it usually works for them. But I can't seem to understand, why only one person can't display a visual when it's all working for everybody else.
All other visuals are working for the person just fine.
 
Any advice on this?
 
Thank you!
Vilém

PowerBI Sharing

$
0
0

If we have a premium PowerBI account and we share this with other non-premium users through a workspace. Can we restrict them to only view and not edit. Also for the non-prenium users to not be able to share forward…

Power BI Gateway Service updates

$
0
0

Hi All

When i click on our gateways on my laptop and browse to Gateways i get a message to update the gateway. The gateway services run on a different server. Do i need to install it on the remote server or on my laptop or both?

Thanks

Couldn't load data for this visual

$
0
0

One visual in the PowerBI service does not render correctly and the following error is displayed:

Couldn't load the data for this visual

Couldn't retrieve the data for this visual. Please try again later.

Please try again later or contact support. If you contact support, please provide these details.

 

This only occurs in the PowerBI Service; the visuals are correctly displayed in the desktop version.

 

The data is from a measure calculated from a direct query to an Azure for PostgreSQL database. There are other visuals in the report, reading from not only the same database, but from the same table which do render correctly.There is also another visual with essentially the same measure calculated from a different table which does render correctly.The measure which seems to cause the issue is as follows:

 

 

AllPlayers = CALCULATE( COUNTROWS ('public dim_players'), FILTER ( ALLEXCEPT('public dim_players', 'public dim_date'[date]), 'public dim_players'[creation_date] <= MAX('public dim_date'[id]) && ( ISBLANK ( 'public dim_players'[deletion_date] ) || 'public dim_players'[deletion_date] > MAX('public dim_date'[id]) ) ), USERELATIONSHIP('public dim_players'[creation_date], 'public dim_date'[id]), USERELATIONSHIP('public dim_players'[deletion_date], 'public dim_date'[id]), USERELATIONSHIP('public dim_players'[game_id], 'public dim_games'[game_id]), USERELATIONSHIP('public dim_players'[group_id], 'public dim_groups'[group_id]) ) + 0

 

 

 

 

A visual based on the same measure run on a 'public dim_moderators' instead of 'public dim_players' table however displays just fine. Visuals based on other measures involving the public dim_players table also work just fine within the report.

 

Any ideas what could cause this issue?

 

If it is the measure itself, could this measure be created in a simpler, more efficient manner?


unable to publish to gov pbi service

$
0
0

When trying to publish a report to the PBI service (for US Gov tenant) from the desktop, we get unknown error.

Is there something different we need for a gov licensing to publish?

The report's content is an import of SQL tables. 

 

Thanks

 

Power BI scheduled refresh for dataset check EffectiveUserName for disabled and removed account

$
0
0

Power BI scheduled refresh over on premise gateway for dataset check EffectiveUserName for disabled and removed account:

 

The following system error occurred: Account restrictions are preventing this user from signing in. For example: blank passwords aren't allowed, sign-in times are limited, or a policy restriction has been enforced.

 

This error catched in Profiler. For other users everything is OK and refreshing in Power BI is succesfully.

 

When I enable that Account on Active Directory I have following error (permission not given on dataset):

Either the user does not have access to the database, or the database does not exist.

Unable to refresh powerbi report using flow in powerapps

$
0
0

Hi,

I am trying to  update a powerbi report after updating a sqlserver table using instant flow.The values are saving in database but powerbi report is not refreshing. Any help on this is much appreciated. Flow.JPG

 

Thanks

Govinda

Information about Power BI Embedded and Power BI Service

$
0
0

Hello,
 
We have customers who use our software and would like to have a reporting tool in it. We would like to know which Power BI service (Power BI Embedded or Power BI Server) is best suited to deploy Power BI On Prem. 
 
I have several questions about Power BI Embedded and Power BI Server:
- What is the authentication mode and SSO compatibility?
- What is the authorization mode to manage application security?
- What is the deployment mode (SAAS, On Prem, ...)?
- What is the integration capability (Iframe, SDK, ...)?

Report empty after change of datasource

$
0
0

Hi,

 

I split my workspaces into Test and Prod. I first created Dataflow -> Dataset -> Report in the Test workspace. It worked fine to move the Dataflow -> DataSet inot my Prod workspace. However when I move the Report and change the datasource to the dataset in the Prod workspace the report is empty (empty as in not data).  The dataset contains data, the lineage is correct. 

 

Any ideas on what is wrong?

 

Thanks

 

Power BI Service App report connected to Azure Analysis Service is not available for other users

$
0
0

Hello Community.

 

I am trying to publish a Power BI report (PBI) connected live to Azure Analysis Services (AAS). I connected the report live to AAS via Power BI desktop, published it to a workspace in Power BI Service, published it as Power BI Service App.

 

I can see and use the repport from Power BI Service, however, when I try to share the link for the report in the App, other users have an error:

Unable to connect to the data model
We cannot open the report because Power BI is unable to connect to the data model in Azure Analysis Services.
Make sure you are using the correct credentials and contact the owner of the data model or an Azure Analysis Services administrator
to ensure the data model is accessible.
Please try again later or contact support. If you contact support, please provide these details.

 

Other inputs:

PBI is licensed under one tenant, AAS under another one (both owned by the same company).

All users are registered as members in the PBI tenant, and are included in the workspace where the report is published

All users are registered as guest users in the AAS tenant (including me)

All users are provided with reading/contributing rights for a respective AAS instance.

 

Could anybody point out possible issues i need to fix to resolve the problem?

 

Thank you.

How to Export Data from visualization from Online Report?

$
0
0

Hello,

 

On my online report I am not able to export the data from a table, as the owner of the report. However, on my desktop app I am able to do that. These are the only options available on the online report.

 

ptawil_0-1603121386746.png

 

I have also enabled export of summarized Data but still to no avail.

 

ptawil_0-1603121536525.png

 

Any help would be greatly appreciated.


Export the entire content of a table or Matrix from Power BI

$
0
0

Hi,

 

Is there a way to export the entire content of a table or Matrix visual from Power BI? In the report I am showing the table with lesser height (only 5 rows displayed at any time) so that a scroll bar is required to see the remaining data. But when i export to PDF I need to get the entire rows in the table to be displayed. In the case of matrix, when i export i need to get the entire columns to be displayed.

 

Thanks in Advance

Sharing a report with free/external users?

$
0
0

Hello,

I have a situation I am not sure how to resolve. So, I am currently a free Desktop user of Power BI. I have created a Power BI report for some data my organizations works with, but the data is sensitive, so users that view it need to log in or otherwise be approved users to see it. Basically, it can't just be embedded into a public website. We use Sharepoint and Teams within my organization, but the users we need to share it with are external to our organization and do not necesarily have microsoft accounts - they might have google accounts or some other system that isn't microsfot.

 

What is the best way to give 20-30 people access to a report I have created without requiring them to have microsoft accounts, while still controlling who has access / viewing priveleges? If needed, I am able to upgrade my own account to a Pro license.

 

 

Thanks y'all!

Report in Power BI Service showing blank

$
0
0

hi, Im having a new user into a power bi service app but the shared report doenst load on it, but in other users it does show up, the report appear as blank, no matter what I try keep appearing blank:

 

argicocomercial_0-1603122950797.png

any ideas or soluctions about this topic? 

issue with Power Automate

$
0
0

Hi, 

 

I have some dashboards in the PBI service that sent "triggers" when certain thresholds are beeing overrun. When the trigger goes of, Power automate should send out an email. 

This all worked perfectly but today all of the triggers got this error: 

"The response is not in a JSON format"
 
Don't understand what happened ? 
 
Any one knows wat changed ? 

Conditional formatted Advance Cards do not function properly when posted to a Dashboard

$
0
0

I have created three Advance Cards that are Grouped with a text field in order to simulate a multi line card, but with conditional formating functionality. This works great in the desktop, but when I try to post the whole thing to a dashboard, only the text box shows up, and even it loses its formatting. 

 

Then if I try just posting one of the Advance Cards to the dashboard, they lose all formatting functionaliity. 

 

Below is an example of what the grouped items look like on the dashboard. 

dxhansen_1-1603123426036.png

Is there any way to get this functionality to work on a dashboard?

 

 

Viewing all 61665 articles
Browse latest View live


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