powerbi

Powerbi oauth api provides 403 while accessing data from access token

ぃ、小莉子 提交于 2021-01-29 19:29:14
问题 I am trying to get the rest api working on the powerbi . I was successfully able to login using the grant type as client_credentials . Here is my request data while creating token . { client_id:'my-client-id', client_secret:'my-client-secret' grant_type:'Client credentials' } But when I use the response token from this api to get other api response . I get 403 error as a response when try to access the data . The following permission is given to my app but still I am getting 403 . Can anyone

Database modelling remove bridge table

喜你入骨 提交于 2021-01-29 17:10:33
问题 I have designed a database with some outside help and I am thinking about a major change to the database model because of a problem creating reports in Power BI I have recently encountered here: SQL Power BI Report with Bridge Table Disclaimer: if I could ask anyone within my firm, I would, but I can't. We have a three-layer structure A main table Firms , with information about the year and unique key/name for each firm A bridge table Firm_Bridge which information about the type of the firm

Power BI DAX summarize and filter by date

﹥>﹥吖頭↗ 提交于 2021-01-29 16:32:08
问题 I have a Power BI report and I want to find the last date some action took place that had a non-0 value. In the following example: |-------------|------------| | ActionDate | ActionAmt| |-------------|------------| | 1-Feb | -100 | |-------------|------------| | 1-Feb | 100 | |-------------|------------| | 10-Jan | 150 | |-------------|------------| I want to return the 10-Jan date, not 1-Feb, since 10-Jan is the first non-0 value summed by ActionDay. My code returns 1-Feb: Last Action Date =

PowerBI filter- selected Date between Start and End date

久未见 提交于 2021-01-29 15:11:08
问题 I'm building a PowerBI report from a dataset that contains start and end dates. I'd like to filter the dataset based on rows that would encompass a selected date in another table. The screenshot here shows a sample. I want to click a date in the table on the right and have the table on the left filtered where the selected date is between the start & end date. I've attempted several different things using columns and measures, but I haven't been able to nail it down. I also attempted to create

How to use filter when creating calculated column in Power BI?

你。 提交于 2021-01-29 13:16:48
问题 Filter cannot be used in calculated columns, then how can I simply create a column in DAX that would pick up a value based on maximum claimID and maximum DateCreated ? The result should be like this: 回答1: Filters can be used in calculated columns. Just don't expect them to be responsive to slicers. In this case, it is probably more efficient computationally not to use a FILTER function in favor of simple CALCULATE arguments: TotalIncurredMaxDate = VAR MaxDate = CALCULATE ( MAX ( Table1

How to prevent power query from fetching data for merge source tables?

≡放荡痞女 提交于 2021-01-29 12:22:52
问题 In Power query I have table A and table B. I have merged these to create table C and expanded to keep the column I need in my report. When I refresh the data, it fetches data from the source database into all 3 tables. It doesn't allow me to delete tables A and B because they are used by the merge table C. I have tried both unchecking enable load on the tables A and B as well as unchecking include in report refresh. As mentioned here (see comment section on answer - What do "Enable Load" and

how to show up measure value in another table in power bi

非 Y 不嫁゛ 提交于 2021-01-29 11:28:45
问题 [this is the table 1, which has country and value][1] [I want to show same value for other table, but zero for the countries which are not in table 1][2] both tables have measures [1]: https://i.stack.imgur.com/P2tGl.png [2]: https://i.stack.imgur.com/GDEZN.png 来源: https://stackoverflow.com/questions/64162014/how-to-show-up-measure-value-in-another-table-in-power-bi

DAX subquery measure?

霸气de小男生 提交于 2021-01-29 11:22:09
问题 I'm struggling with a DAX query and wondered if you could help? Consider this table (or visualisation) called 'Builds': Build....App....Status Build1...App1...UAT Build1...App2...Complete Build2...App1...Complete Build2...App2...Complete I would like to add a measure column called 'AppsOutstanding' to show a count of Apps for that Build that aren't 'Complete'. Like so: Build....App....Status......AppsOutstanding Build1...App1...UAT.........1 Build1...App2...Complete....1 Build2...App1..

Is there a specific way to conditionally add within a column in PowerBI?

微笑、不失礼 提交于 2021-01-29 10:52:15
问题 Is there a specific way to conditionally add within a column in PowerBI? Sample data: Lang|Book_Type|Number|Book_Type (groups) ------------------------ A | B1 | 2 | B1 ------------------------ B | B1 | 2 | B1 ------------------------ C | B1 | 3 | B1 ------------------------ A | B2 | 4 | B2 ------------------------ B | B2 | 2 | B2 ------------------------ A | B3 | 2 | B3 ------------------------ A | B4 | 2 | B4 ------------------------ B | B4 | 5 | B4 ------------------------ So, what I want

Connecting Power BI to S3 Bucket

旧巷老猫 提交于 2021-01-29 10:51:28
问题 Need some guidance as I am new to Power BI and Redshift .. My Raw JSON data is stored in Amazon S3 bucket in the form of .gz files (Each .gz file has multiple rows of JSON data) I wanted to connect Power BI to Amazon s3 Bucket. As of now based on my research I got three ways: Amazon S3 is a web service and supports the REST API. We can try to use web data source to get data Question: Is it possible to unzip the .gz file (inside the S3 bucket or Inside Power BI), extract JSON data from S3 and