powerbi

PowerBI - Pivot table drill down functionality

Deadly 提交于 2020-01-07 02:48:30
问题 I'm new to POWERBI, and am using it to combine multiple large files and summarize data for me. I'm trying to move away from EXCEL since the files can become large when sharing with others. I want to use ROW LEVEL SECURITY and grant access to specific users. My main question is, is there a PIVOT TABLE drill down function in POWERBI? I'm unable to find this anywhere in the menus and looking at their forums people are unsure, December 2015 they were "working on it," but there have been no

Sum row with next row value and grab next value in other column for the date selected

谁都会走 提交于 2020-01-06 08:21:31
问题 Let's say I have this data: Earn Earn Cum. 13-Apr - - 14-Apr 48 48 15-Apr 257 305 16-Apr 518 823 17-Apr 489 1,312 18-Apr 837 2,149 19-Apr 1,005 3,154 20-Apr 1,021 4,175 21-Apr 1,463 5,638 22-Apr 2,630 8,268 23-Apr 2,993 11,261 24-Apr 3,354 14,615 25-Apr 4,332 18,947 26-Apr 4,885 23,832 27-Apr 4,514 28,346 28-Apr 4,356 32,702 29-Apr 4,824 37,526 30-Apr 7,082 44,608 1-May 6,091 50,699 2-May 1,407 52,106 When a date is selected in a dropdown slicer for example: 1-May I'd like to sum the rows 1

How to calculate using the same measure when date has no value (past and future)?

一曲冷凌霜 提交于 2020-01-06 08:08:39
问题 After trying a lot of approaches and formulas I decided to ask this question. See this Matrix visual: WeekDate is column in a table called Planning . It's related to another date time column in another table called Export . Export table only has values for the dates: 23-Dec-19, 30-Dec-19 and 06-Jan-20 whereas Planning table has dates spanning multiple weeks in the past and in the future. Cumulative Plan Count is calculating correctly as long as there are matching dates between the tables

Unable to connect to Power bi using restapi?

那年仲夏 提交于 2020-01-06 08:05:47
问题 I am trying to send POST request to https://login.windows.net/common/oauth2/token to get authorization code with parameters inside the body: { "grant_type":"password", "client_id":"xxxxxxxxxxxxxxxxxx", "resource":"https://analysis.windows.net/powerbi/api", "username":"xxxxx.onmicrosoft.com", "password":"xxxxxxx", "client_secret":"xxxxxxxxxxxxxx" } I am getting error: { "error": "invalid_request", "error_description": "AADSTS90014: The request body must contain the following parameter: 'grant

Unable to connect to Power bi using restapi?

邮差的信 提交于 2020-01-06 08:05:14
问题 I am trying to send POST request to https://login.windows.net/common/oauth2/token to get authorization code with parameters inside the body: { "grant_type":"password", "client_id":"xxxxxxxxxxxxxxxxxx", "resource":"https://analysis.windows.net/powerbi/api", "username":"xxxxx.onmicrosoft.com", "password":"xxxxxxx", "client_secret":"xxxxxxxxxxxxxx" } I am getting error: { "error": "invalid_request", "error_description": "AADSTS90014: The request body must contain the following parameter: 'grant

Power BI: How to add slicer from a different table?

拥有回忆 提交于 2020-01-06 07:21:31
问题 I'm trying to plot a cumulative line chart in PowerBI and add some slicers to it. Let me first describe my data. My data looks as below: To plot a cumulative chart, I'm creating a new table using below formula: Cumulative = CALENDAR(DATE(2017, 9, 24), DATE(2017, 10, 12)) In this new table, I'm adding 2 more columns as below: Issues_Logged = COUNTROWS(FILTER(Sheet1, Sheet1[Creation_Date].[Date] <= Cumulative[Date].[Date])) + 0 Issues_Resolved = COUNTROWS(FILTER(Sheet1, Sheet1[Resolution_Date].

SQL Server Tokencache issue

99封情书 提交于 2020-01-06 06:57:08
问题 I basically took code from here https://github.com/Azure-Samples/active-directory-dotnet-webapp-webapi-multitenant-openidconnect/blob/master/TodoListWebApp/DAL/EFADALTokenCache.cs but it is not suitable for my application as I don't need the cache per user as given in the example. Accordingly I removed the constructor that accepted User as a parameter since I wanted the cache to be global. I have came up with this version: public class EFTestTokenCache : TokenCache { private TestEntities

searching a keyword in DAX

亡梦爱人 提交于 2020-01-06 05:07:48
问题 I am trying to create a column in power BI that searches for a keyword in a column of a table and returns a category. For example: in table 1 there is a column with feedback and if it contains any keyword in the keyword column of table 2 ( which is updated regularly) a TRUE value is returned. The following code works great if the keyword is the only word in the sentence like "product broke after using it once" returns FALSE if looking for the keyword "broke" and the word "broke" used as the

searching a keyword in DAX

纵饮孤独 提交于 2020-01-06 05:07:11
问题 I am trying to create a column in power BI that searches for a keyword in a column of a table and returns a category. For example: in table 1 there is a column with feedback and if it contains any keyword in the keyword column of table 2 ( which is updated regularly) a TRUE value is returned. The following code works great if the keyword is the only word in the sentence like "product broke after using it once" returns FALSE if looking for the keyword "broke" and the word "broke" used as the

Power BI changing text case automatically

最后都变了- 提交于 2020-01-05 07:15:34
问题 I have a power BI connected to a SQL Server, I am reading a text field that is case sensitive in my sql server, but when the data arrive in power BI is all in the same case. For example in my database I have "mixed", "Mixed", "MIXED", when I read data from power BI all data is "mixed". Does anyone know what is going on? Many thx 回答1: Power BI doesn't handle case sensitivity that well at the moment (after the query stage anyway). You can vote for a related idea to fix this here. A current