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

New Usage Metrics Unnamed Users

$
0
0

hi all,

 

we have updated our work areas to use the new User Metric. Now unfortunately only 1 is shown in the Unique viewers, is that normal in the new metrics?

We have deliberately set the setting: "Per-user date in usage metrics for contant creater".


Data refresh limitation

$
0
0

Hi, 

I found such information in Power BI documentation:

" It should also be remembered that the daily refresh rate limit for shared capacity is calculated jointly for scheduled refreshes and refreshes via the API. On-demand refresh can also be triggered by selecting Refresh now on the dataset menu. Refresh requests are not included in the refresh restriction." 

 

It means that if I have a Power BI Pro I can set up a daily refresh for 8 times  and I can also refresh my data by using an refresh now option any times I want?

Of course I'm talking about Power BI service 

PowerBI embedded Help - Code is below(Nodejs)

$
0
0

Dear all,

 

I am new to powerBI embedded.

I have built the below code Nodejs and Invoking Embed URL to display the report. But , it is not working.

 

I am confused about this. Am I doing completly wrong?

 

I feel that I completly lost of track . 

 

Please guide me.

Code :

 

const http = require('http');
const request = require('request')
var fs = require('fs');
var url = require('url');
var app = require("express")(); 
var bodyParser = require("body-parser"); 
var embedUrlpassing;

const hostname = '127.0.0.1';
const port = 3000;
const server = http.createServer((reqres=> {
  res.statusCode = 200;
  res.setHeader('Content-Type''text/html');

var options = {
  'method': 'POST',
  'headers': {
    'Content-Type': 'application/x-www-form-urlencoded'
  },
  formData: {
    'grant_type': 'password',
    'scope': 'openid',
    'client_id': '3202f8a8-b9db-46a7-a68c-a744a4ba0289',
    'username': '######@####.com',
    'password': '######'
  }
};
request(optionsfunction (errorresponse) { 
if (errorthrow new Error(error);
var jsonObj = JSON.parse(response.body);
var options1 = {
  'method': 'GET',
  'headers': {
    'Authorization': 'Bearer ' + jsonObj.access_token
  }
};
request(options1function (errorresponse) { 
  if (errorthrow new Error(error);
  var embededJSON = JSON.parse(response.body);
  var embedUrlpassing =JSON.stringify(embededJSON.value[0].embedUrl);

  //res.end('<html>'+ embedUrlpassing +'</html>');

  //res.end('<!DOCTYPE html><html><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1"><body><iframe width="1140" height="541.25" src='+embedUrlpassing+' frameborder="0" allowFullScreen="true"></iframe></body></html>');

  res.end('<!DOCTYPE html><html><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1"><head> <script>document.location.replace('+embedUrlpassing +');</script></head><body></body></html>');
  });

});

});

server.listen(porthostname, () => {
  console.log(`Server running at http://${hostname}:${port}/`);
});

 

 

Incremental Refresh Setup Questions

$
0
0

Hello Community,

 

I have been trying to setup Incremental Refresh for a dataflow for a while now and have hit a mental wall and request help. Here goes:

I am trying to set up an incremental refresh for a dataflow that is transactional in nature. For example this table, call it Orders, is imported from a different source to a SQL Server where then I point to it with Power Query. The SQL Server source is preferable because of many reduced columns and an inserted_DateTime column that represents the last modified change to a single Order row in the SQL database.

I would like to perform an incremental refresh whereby the dataflow stores 5 years of historical data, refreshes every 1-3 days (tbd on actual refresh period) and would like to detect max changes. The detect max changes is where I am stuck. I have tried using the inserted_datetime stamp column as the detect changes with the datetime filter set to the Order "created datetime". This results in duplicates because I believe the refresh window does not check the historical data for changes therefore if an Order outside the refresh window is updated with a newer inserted_timestamp it duplicates the Order. 

I have looked and tried many of the forums resolutions and am trying to setup one which many have said should work but I am not sure if I am understanding correctly and am missing data when I attempt it.

 

I have the Order table query in the Power Query editor. I created a custom column that just lists the date it was imported into PQ by using the following function:

Table.AddColumn(#"Removed other columns", "Custom"each DateTime.LocalNow())
 
My understanding is this creates the column for each record at the point of the query execute. Once incremental refresh is setup, this column would then have a PQ_Imported column thats updated to current time for each row in the refresh window.
 
When I do this, I am missing records from my table when performing incremental refresh. When viewing the data it is pulling the new records that changes but somewhere between the most recent and historical data is where am I guessing the rows were not pulled in. There are no duplicates.
 
My questions are these: Is there something I am missing to make this incremental refresh work? Can incremental refresh handle transactional data in which the datetime fields for "detect max" changes? What would be ways to test the data to find where the missing rows would be? I do not have a lot of experience in incremental load/refresh and would like to learn more about it for the future.

 

Thanks in advance!!

Publish to Web Issue in Power BI Service

$
0
0

Hello Power BI Experts,

 

I am trying to use "Publish to Web" option in Power BI Service, to publish my report to my website, but unfortunately I have started getting the following error:

 

PublishWebIssue.png


This issue started coming up for February 2020. Did something change in this month's Power BI update as previously I never got this error before while publishing report to web.

 

Can someone help me with this? 

 

Thanks in advance!

Pragati

DataFlow Security in Power BI Service

$
0
0

Hi,

 

We would like to create few dataflows and give access to those Datasets (Not DataFlows) to users so that they can't add any more dataflows Or Can't connect to our sources. Is there any way to strict users to NOT to create their own DataFlows or Edit existing Dataflows Or Infact not even see the Dataflow option on the workspace ?.

 

Thanks,

 

Share PowerBi report - iframe or fullscreen on sharepoint

$
0
0

Hey 

 

I've got some problems with sharing my PowerBi report.

I found two different ways but each with some problem:

a) share report in Sharepoint - everything looks perfect but I can't set SharePoint standard page ( or community page ) for using the fullwidth page.  There isn't also any button for resizing report.

b) I made some webpage iframe and it looks good but probably URL from PowerBi doesn't have any possibility to allow access only for current IP address. So probably this URL is open for everyone.


I'm not good @ programming so PowerBi  Embedded isn't a good option for me.

Can You help me with this topic?

 

No effect when try to open app by clicking a tile in Google Chrome

$
0
0

Hi,

 

We use Google Chrome (last release Version 80.0.3987.122 (Build officiel) (64 bits)) to access Power BI Service.

If we go to Apps Tab and try to open an app by clicking on tile, it has no effect.

We must refresh page (Apps tab) to have access again.

Issue appears when we come only from Workspace tab.

Do you know this issue ?

 

Thanks for help

 


Share Personal Bookmarks

$
0
0

Hi PowerBI community, 

 

Can i share a personal bookmark with others?

 

Thank you in advance for your support!

Schedule refresh for web content report

$
0
0

Hi,

 

I was building a report on Power BI desktop which I got the data source as Web -> fill in the URL of the website I want to extract data from -> "Add table using example" -> fill in the data values I want to extract into a table. I was able to create a report from this and pulished to Power BI Service. However, when I looked at the dataset to schedule refresh, I got the following error:

 

Capture.PNG

I am not sure how to fix this because I am still able to refresh in Power BI Desktop but only encounter the error in Power BI Service. Please help! Thank you!

Create Interactive Dashboard from Kusto Data via Kusto Queries

$
0
0

Hi All,

 

I'd like to create an interactive dashboard for a dataset from Kusto. The dataset would be queried by a preset query with some parameters. I would need a dashboard with a user-enterable textbox, a dropdown with preset values, and a date-range for narrowing the dataset by time.

 

These user inputs should form the query which will be used to query data from Kusto and present it to the users. 

 

I'm new to Power BI so I was wondering if this might be doable, and if so, how?


Cannot load model

$
0
0

Hi,

 

we're using the Microsoft Power BI cloud to host our reporting platform. Recently the data model of a report got replaced with a new data model. Before this happened I re-pointed my file to the new data model. Now when I digged out an older report (that still pointed to the old data model) I got this two error message:

 
 
 

Cannot load model errors.png

It is possible to close the left error message and get re-pointed to the SQL Server Analysis  Servces database. When I'm fixing the connection (with going through internal authentification process), the Power BI report doesn't re-point to the changes I just entered but falls back to the old database (that no longer exists). The eror that now pops up is this one:

Cannot load model error2.png

It now turns into an endless loop. Neither the Retry, nor Edit nor Cancel button react. Only way is to kill the report via Task Manager. 

Zipping the PBIX report and removing on the zipped folder the 'connection' folder does not resolve this issue. Any idea if is possible to recover the old report and to re-post it to the new data source?

 

Thank you in advance for your help.

Authorizing error Power BI - Dynamics F&O

$
0
0

Hey there,

 

I got this problem when I try to embebed my power bi reports/dashboards to Dynamics 365 F&O, Any idea how Ican solve it?

 

Best regards.

 

ErrorEmbebed.PNG

 

Getting error when running custom visual using R script and Plotly

$
0
0

Hi!

 

I have created a small custom visual for Power BI using Plotly. I have used the rhtml way of doing this and everything works in POwer BI desktop, but when I publish the report using the visual I got an error saying 

 

Package 'Plotly' has a dependency that is currently unavailable.

 

I have also installed the visual in my organization part of power bi service. I am using R version 3.4.4 and I also checked the package version. I had to downgrade some of them. The only one I have problem with downgrading was XML. I didn't manage to run this, but I am not sure if this is the problem. Anyway, if somebody has a workaround on this please let me know

regards geir

downgrade code run in Rstudio

packageurl <- "https://cran.r-project.org/src/contrib/Archive/XML/XML_3.98-1.10.tar.gz"
install.packages(packageurl, repos=NULL, type="source")

 

feil.png

SharePoint list based report will not refresh data.

$
0
0
 

Hello. 

I am new to the community and somewhat new to POWER BI. I have read anything I could find on similar issues but I cannot seem to figure out the solution. 

 

I have created a simple 2 column list on Sharepoint Online for the purpose of troubleshooting this issue. I have done no special formatting or set up. There are no columns that have "lookup" or "choice" options. Simply two text columns, 'Location' and 'ShortName'.

 

In PowerBI Desktop I connect to that data source, load the list and create a simple table visualization with Location and ShortName. (NOTE: SharePoint has many more columns including an ID column, which then gets duplicated as an ID.1 column with the same values in PowerBI). The desktop report runs fine and I can refresh the data, make changes or add more locations and after a refresh, everything works as expected.  I publish the report to our cloud powerbi.com site and the new "Locations" report and dataset show up properly.  However, when I try to refresh the data, I get the error: "The column 'ID' of the table wasn't found. Table: Locations"

 

I know someone posted a similar issue but when I tried to follow the solution, It wouldn't work or I couldn't figure it out. I have not changed, added, sorted, or made any other adjustment to the report by editing the query or the adjustments in the query window.

 

Here is the code in the Advanced Editor window:

 

let
Source = SharePoint.Tables("["[URL to the sharepoint site]", [ApiVersion = 15]),
#"[Source ID]" = Source{[Id="[SourceID]"]}[Items],
#"Renamed Columns" = Table.RenameColumns(#"[SourceID]",{{"ID", "ID.1"}})
in
#"Renamed Columns"

 

I tried to remove the ID column, remove the ID.1 column, etc. and nothing seems to work. I have no idea why I'm getting this error when it all works well when I refresh the data from the Desktop application. Any help would be super appreciated.

 

Thanks!


On Premise Gateway Will Not Appear

$
0
0

Hi there!

 

I'm having some trouble setting up a PowerBI Gateway Data source to appear for a user. Here are the details:

 

Gateway is installed on Server1 (Azure). Datasource exists on Server 2 (different Azure server). 

 

  • Server 2 does not allow for windows authentication. To allow connection, we created a SQL Login with permissions over the database (read).
  • I've created a data source within the gateway with Server 2 and Database name that match exactly to the pbix file. 
  • I've added the user (through a security group and directly) as a user to the datasource within the gateway. 
  • When the user goes to the report published in the service, they are unable to select the gateway because it does not appear to be a selectable option. 
  • The user can select the gateway in question when referencing server 1 with a database on server 1. 
  • User's colleague can select the gateway to refresh data from server 2 and its database. User 1 cannot.
  • Colleague is the sysadmin over the server 2.

 

Steps Attempted: 

 

  • Published the PBIX to the user's personal workspace. 
  • Verified spelling is exactly correct for server/database in PBIX settings.
  • Republished to the same workspace.
  • Verified that the database permissions matched (i.e., one is not organizational while the other is none. They're both none)

Further Steps we're attempting: 

 

  • I'm asking the user to use the database login set rather than windows in the report: with the set we used on the gateway when originally setting up the 
  • Seeing if I can publish the report (I'm an admin over the gateway).
    • Note: Colleague is just a user over this gateway.

 

 

 

undefined

$
0
0

Hi, 

I have created a power Bi dashboard on power Bi desktop,which I publish in the workspace as well( power Bi services). The size of the dashboard is 155 MB. I import the data using the import mode; I have created a view in the sql server and pull the data from there. I have used around 6 market place visuals in the dashboard . Among the 12 tabs , the dashboard has two tabs that hold data in  tabular form. 

My problem is the dashboard is super slow. At times, after  selecting an option , the dashboard needs 3 mins to refresh data. Any suggestion on what is causing this dely or how can I optimize the dashboard performance.

 

Thanks...

 

The last refresh attempt failed because of an internal service error. This is usually a transient is

$
0
0

Hi just seeing if anyone has any odeas re below message on a dataset failure, set to run daily, Azure is scaled up to handle amount of data from pipeline but has failed continually for weeks, there are other reports in workspace that run fine, any ideas? thanks 

 

Last refresh failed: Sun Mar 01 2020 07:19:40 GMT+0000 (Greenwich Mean Time)
The last refresh attempt failed because of an internal service error. This is usually a transient issue. If you try again later and still see this message, contact support.Hide details

Current embedded usage in percentage

$
0
0

https://docs.microsoft.com/en-us/power-bi/developer/embedded-faq,

i read that "Go to Available Features to check the usage value that indicates the current embedded usage in percentage"

 

Multiple times I called the endpoint https://api.powerbi.com/v1.0/myorg/availableFeatures

But, i always see below snippet in response, i.e. 0 for usage.

 

I am assuming that value of usage should be equal to number of refresh tokens generated till now.

 

Any clues on why it always shows 0?

 

 {"name": "embedTrial","state": "Enabled","extendedState": "Enabled","additionalInfo": {"usage": 0
      }
    }

 

 

Power BI Embedded Refresh

$
0
0

Hi Community,

 

I have embedded a report on a web page by using the Embedded iframe script. The report uses Direct Query.

 

Now i really want to update the data in the report while the user stays on the page. I don't want to refresh the entire report, just refresh the data in the report.

Similar functionality to the Refresh button in PowerBI.com

 

777sadasdasdasds12d12.PNG

Is there anyway to do this, with an API or Javascript or REST or some other way....

 

I have searched high and low for a solution to this issue and really hope someone here can help me.

 

Viewing all 62322 articles
Browse latest View live


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