powerbi

Power Bi Desktop Client Freezes while defining relationship

我们两清 提交于 2019-12-08 10:42:17
问题 I am using Power BI desktop client on Win Server 2012 R2 and Win Server 2016. Both of the instances freeze up once I start creating the relationship between the tables that I loaded. I have updated desktop client to Feb 2019 release and March 2019 release, but still same results. Also, some of the IDs in tables contain NULL value which is not handled very nicely in Power BI, anyone encountered this issue before? Any help or suggestion is much appreciated! 来源: https://stackoverflow.com

System.Object type which is not supported by PBI (Power BI)service

落花浮王杯 提交于 2019-12-08 08:10:26
问题 I have set Azure Stream Analytic job output as Power BI. But I am getting warning in the analytic job that System.Object type which is not supported by PBI service. Also I am not able to see any data in Power BI . But I can see the database created there which ensure that stream analytic job output is coming there. Below is the sample data sent to Power BI. I know the error happens because one of the property is an object . Is there any thing I can do at Power BI to handle this? {"test": {

Embedding Power Bi Report Promise is not defined powerbi.js

狂风中的少年 提交于 2019-12-08 08:07:49
问题 I have created a power bi report. I want to embed this report to my MVC site. Here is my code:- private static readonly string ClientID = ConfigurationManager.AppSettings["ClientID"]; private static readonly string ClientSecret = ConfigurationManager.AppSettings["ClientSecret"]; private static readonly string RedirectUrl = ConfigurationManager.AppSettings["RedirectUrl"]; private static readonly string AADAuthorityUri = ConfigurationManager.AppSettings["AADAuthorityUri"]; private static

What setup do you need for Python Visualizations in Power BI? Any particular matplotlib package versions or system settings?

≯℡__Kan透↙ 提交于 2019-12-08 07:47:00
问题 I keep getting the error TypeError: from_bounds() takes 4 positional arguments but 6 were given when trying to insert a Python Visualization in Power BI. Though it seems that Matplotlib is the problem here, I don't know if that is the root cause. My system: Windows 7, 64 bit Power BI august 2018 Python 3.6.6.0 Matplotlib 2.2.2 Pandas 0.23.4 I can't be 100% sure that this is in fact a version problem, but I can't think of anything else because I'm using the same dataset that was successfully

Custom x-axis values in Power BI

喜欢而已 提交于 2019-12-08 06:14:47
问题 I want to plot a graph over a year+weeknumber on the x axis. Each data-point contains this specific value; for example week 7 of 2016 is expressed as 201607 etc. and called YearWeek I created a date table in which I calculate all possible YearWeek value in a certain date-range. Then I created a YearWeek table extracting all distinct YearWeeks. This I connected to the Fact-Table. What I want to chart is exactly according to this matrix: Note that I explicitly selected to show items with no

Load *.htm file saved as .xls (starting from row number 5) Using Power Query

瘦欲@ 提交于 2019-12-08 06:13:21
问题 I have to import an .xls file which is saved as .*htm, .*html. I attached a link which provides a sample file of that format. The Actual first row of the table starts from row number 5. But there are data above it. The file looks as below, The sample file. But please make sure to include some rows on top of it with some test values and make it look like the screenshot above. if there are no rows above it, then the following M Code provided by Alexis Olson works let Source = Folder.Files("C:

DAX model invoice running balance

大兔子大兔子 提交于 2019-12-08 05:44:30
问题 I have a table with invoices and a table with payments. The Invoice table consists of invoice id, amount, invoice date, expiry date. The payment table consists of invoice id, amount, payment date. The invoice table have an active relationship with the date table on the expiry date column. The payment table have an active relationship with the invoice table on the invoice id columns. I would like to be able to show the invoice balance on an arbitrary day. Ie if I filter the report or page on a

Get Authorization code for Azure PowerBI capacity for PowerBI Embedded

夙愿已清 提交于 2019-12-08 04:16:24
问题 I'm programatically start/stop Azure PowerBI capacity for PowerBI Embedded. On button click , resume/suspend the powerbi embed service in Azure. I followed below link to do this. https://docs.microsoft.com/en-us/rest/api/power-bi-embedded/capacities/resume How to get authorization code dynamicallly each time i click the button. 回答1: You can get an access token for Power BI using Azure Active Directory Authentication Libraries. The easiest way to get it is to install Microsoft.IdentityModel

Cant measure from date column

本秂侑毒 提交于 2019-12-08 01:50:31
问题 I'm trying to count days between a date from the column 'completionDate' and today The table name is 'Incidents (2)' I have a simuler table called 'incidents' here it's working. The code: DaysClosed = DATEDIFF('Incidents (2)'[completionDate].[Dag];TODAY();DAY) The error i get: 'A single value for variaton 'Dag' for column 'completionDate' in table 'Incidents (2)' cannot be determined. This can happen when a measure formula refers to a column that contains many values without specifying an

PowerBi embed dashboard using JavaScript

◇◆丶佛笑我妖孽 提交于 2019-12-07 17:02:12
问题 I created a dashboard in PowerBi that I can load in a .cs page using the sample project but I like to try and use the JavaScript API. I tried using the project [GitHub Sample Project https://github.com/Microsoft/PowerBI-JavaScript] But I am getting error about the models is there a different function I would be using? I belive that I have all of the js library installed but the dashboard will not loaded in my html page <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title></title>