powerbi

How to add Power BI reports in Android native app in 2019

不想你离开。 提交于 2019-12-18 09:25:52
问题 I am developing an Android application in which I should show Power BI reports and tiles with drill down. I Googled but still I am not able to find a proper documentation for same. I understand that there is a Rest API, but I cant find any documentation on exactly what happens after getting the data. I have seen other example/questions where they embed a web inside the app to show a dashboard, but I havent been able to see a full example/video working. Please help, thanks in advance. 回答1:

How to add Power BI reports in Android native app in 2019

浪子不回头ぞ 提交于 2019-12-18 09:25:04
问题 I am developing an Android application in which I should show Power BI reports and tiles with drill down. I Googled but still I am not able to find a proper documentation for same. I understand that there is a Rest API, but I cant find any documentation on exactly what happens after getting the data. I have seen other example/questions where they embed a web inside the app to show a dashboard, but I havent been able to see a full example/video working. Please help, thanks in advance. 回答1:

Creating an index column for Power Bi

偶尔善良 提交于 2019-12-18 07:14:54
问题 I have a table of member IDs and transactions in Power BI, I would like to create an index column for it, any suggestions? Regards 回答1: My preferred method is to use PowerQuery (Power BI's Query Editor). Here's how: Click the "Home" tab in Power BI and then click the "Edit Queries" button. Then, under "Queries" on the left side of the screen, click on the name of the table you want to add the index to. Then click on the "Add Column" tab and then click the "Index Column" button. (If you click

Operations on multiple tables / datasets with Edit Queries and R in Power BI

ぐ巨炮叔叔 提交于 2019-12-17 20:47:47
问题 I have two tables tbl_A and tbl_B in a Power BI file that I'd like to transform and analyze using the Run R Script functionality in Edit Queries . This would include handling missing values and joining the tables. However, when starting R, it seems I'm only able to do operations on one table at a time. This is because the Run R Script functionality only imports data from the table that is active when you click the Run R Script button. This data is then stored in the dataset variable. If this

Return top value ordered by another column

北战南征 提交于 2019-12-17 10:01:59
问题 Suppose I have a table as follows: TableA = DATATABLE ( "Year", INTEGER, "Group", STRING, "Value", DOUBLE, { { 2015, "A", 2 }, { 2015, "B", 8 }, { 2016, "A", 9 }, { 2016, "B", 3 }, { 2016, "C", 7 }, { 2017, "B", 5 }, { 2018, "B", 6 }, { 2018, "D", 7 } } ) I want a measure that returns the top Group based on its Value that work inside or outside a Year filter context. That is, it can be used in a matrix visual like this (including the Total row): It's not hard to find the maximal value using

PowerBI 的简单介绍

非 Y 不嫁゛ 提交于 2019-12-16 13:34:35
一 切片器   给我的感觉就是groupby,就是按照某个维度进行了分组,然后显示。    https://www.jianshu.com/p/2e78bf342747 二 建模    https://zhuanlan.zhihu.com/p/64149834   使用的数据透视表的都知道,透视表只能从单个表中取数,如果想把其他表中的数据也放进来,只能先利用Vlookup把其他表的数据合并过来,然后再把这个字段放到透视表中。这只适用于数据非常简单的情况,如果数据量大或者维度很多,用透视表就无法满足需求了。 Power BI突破了这个限制,可以从多个表格、多种来源的数据中,根据不同的维度、不同的逻辑来聚合分析数据;而提取数据的前提是要将这些数据表建立关系,这个建立关系的过程就是数据建模。   1 基数     基数就是两个连接字段的对应关系,分为多对一、一对一和一对多。     具有唯一值的表通常称为“查找表”,而具有多个值的表称为“引用表”。在上述的关系图上,产品明细表上类别手机、平板、电脑都不是唯一的,每个品牌都有这种类型,是个引用表;但类别表上,几种类别都是唯一值,因此这两个表是多对一的关系,类别表也就是查找表。   2 交叉筛选方向     表示数据筛选的流向,有两种类型: 双向:两个表可以互相筛选 单向:一个表只能对另一个表筛选,而不能反向 三 筛选器    https:/

How to join tables on multiple columns in Power BI Desktop

南楼画角 提交于 2019-12-14 03:42:59
问题 The goal is to create a visual that shows Budget vs Premium for each month in a year; Something like that: So I have two tables BudgetData and Premiums. How can I join those two table on two columns: `BudgetData.InsurenceType = Premiums.Division and BudgetData .MonthYear = Premiums.MonthYear` BudgetDate Table: InsurType Amount MonthYear Commercial Auto 1000 Jan 2017 Commercial Auto 22000 Feb 2017 Commercial Auto 3000 Mar 2017 Specialty Casualty 4000 Jan 2017 Specialty Casualty 5000 Feb 2017

How to integrate Power BI in a Delphi desktop application

限于喜欢 提交于 2019-12-14 03:36:06
问题 Has anyone integrated Microsoft Power BI into a Delphi application. I beleive that I will need to embed a webpage into a form,I am ok with that, however I cant see how you force a refresh or feed Power BI the run-time selection criteria. It will be linked to a standard SQL Server database (not cloud based at the moment). I have the graph I want working on Power BI desktop. 回答1: I'm integrating it in WPF C# application. It's pretty much the same as in Delphi, but easier due to availability of

Filter a column dynamically using a measure in Power BI

∥☆過路亽.° 提交于 2019-12-14 03:08:49
问题 There is a column with FY i.e. "FY19","FY18","FY17" etc. I Created a measure which calculates the current FY: CurrFY = CONCATENATE ( "FY", IF ( MONTH ( TODAY () ) <= 3, VALUE ( FORMAT ( TODAY (), "YY" ) ), VALUE ( FORMAT ( TODAY (), "YY" ) ) + 1 ) ) e.g. output: "FY19" Now i need to filter the report based on the FY column using the current FY i get from the CurrFY measure. How do i do it? 回答1: Create a calculated column on your table using that measure FYFilter = IF(Table1[FY] = [CurrFY], 1,

DAX Measure to calculate aggregate data, but group by Case ID

蹲街弑〆低调 提交于 2019-12-14 03:02:49
问题 So I have a variable var varSubItem = CALCULATE (MAX(Outages[SubItem]), Outages[DATE] >= DATE(2019, 07, 14) ) to calculate out items that have had an outage within 1 day. See below. Then I have another variable var data = CALCULATE ( COUNT ( Outages[CASE_ID] ), ALLSELECTED ( Outages ), Outages[SubItem] = devices ) which gives me back the outage count for the devices in the last 2 years. It's only the last two years because my table visual has a filter for that time frame. I pray that I'm