Skip to main content
Filter by
Sorted by
Tagged with
5 votes
3 answers
9k views

Suppose I have a table as follows: TableA = DATATABLE ( "Year", INTEGER, "Group", STRING, "Value", DOUBLE, { { 2015, "A", 2 }, { 2015, "B", 8 }, { 2016, "A", 9 ...
Alexis Olson's user avatar
  • 40.4k
18 votes
2 answers
34k views

How can you create a new table with a Python script that uses two existing tables as input? For example by performing a left join using pandas merge? Some details: Using Home > Edit queries you ...
vestland's user avatar
  • 62.1k
4 votes
2 answers
1k views

This is a self-answered post. Why? Because many questions in Power BI go unanswered because of lacking data samples. Also, many seem to wonder how to edit data tables in Power BI using Python. And, of ...
vestland's user avatar
  • 62.1k
5 votes
1 answer
3k views

I created a report in Power BI Desktop, connected to an AWS RDS database, and published it to the Power BI Web App, with an intent to refresh the dataset from the web app. I tried doing so with both ...
Shahid Thaika's user avatar
21 votes
2 answers
11k views

I want to scrape data from this page (and pages similar to it): https://cereals.ahdb.org.uk/market-data-centre/historical-data/feed-ingredients.aspx This page uses Power BI. Unfortunately, finding a ...
am.rez's user avatar
  • 956
11 votes
1 answer
14k views

I'm trying to create a matrix in a Power BI report summarizing Salesperson performance sliced in a number of different ways. I know how to create a matrix with Rows - Salesperson, Columns - Product ...
Spector's user avatar
  • 113
2 votes
1 answer
3k views

I have the below table and trying to move from excel to Power Bi. In excel I use =COUNTIFS($A$2:$A$16,"<="&E2,$B$2:$B$16,">="&E2) to get Count value but I wonder how can I calculate it ...
Kalenji's user avatar
  • 369
18 votes
4 answers
13k views

I'm trying to use the Power BI REST API, using an access token acquired with the "client credentials" method, but I keep getting 403 Forbidden on my requests. My code follows the pattern ...
cgrayson's user avatar
  • 289
7 votes
1 answer
9k views

I have a data set that resembles the following: Year Location Type Amount 2015 West Apple 12 2015 West Pear 14 2015 East Apple 55 2015 South ...
Pfantastic's user avatar
3 votes
2 answers
2k views

Another week, another Vega-lite question I´m turning to you guys. It´s actually pretty easy to create KPI cards in Deneb however what´s causing me headache is the positioning of marks. As you can see ...
tomecsek's user avatar
  • 417
10 votes
1 answer
115k views

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
Roy25's user avatar
  • 119
6 votes
1 answer
11k views

How to construct filter tables for SUMMARIZECOLUMNS function? The SUMMARIZECOLUMNS has the following pattern: SUMMARIZECOLUMNS( ColumnName1, ... ColumnNameN, FilterTable1, -- my ...
Przemyslaw Remin's user avatar
5 votes
2 answers
775 views

We are trying to implement a dashboard that displays various tables, metrics and a map where the dataset is a list of customers. The primary filter condition is the disjunction of two numeric fields. ...
MattClarke's user avatar
  • 1,647
1 vote
1 answer
3k views

I need to calculate the cumulative sum of Max value per period (or per category). See the embedded image. So, first, I need to find max value for each category/month per year. Then I want to ...
Lebo44's user avatar
  • 33
1 vote
1 answer
1k views

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://learn....
sara's user avatar
  • 305
21 votes
5 answers
73k views

I want to generate reports from my SQL Server tables. I have some already made stored procedures that I would like to use to generate reports from. I haven't found a way to do so. Only by ...
Asaf Savich's user avatar
16 votes
2 answers
3k views

Set up: Similar to this question on a MSDN forum, I have a measure that switches between various other measures (some of them much more complex than others). The measure looks like this (my actual ...
Alexis Olson's user avatar
  • 40.4k
10 votes
3 answers
16k views

Suppose I have a set of returns and I want to compute its beta values versus different market indices. Let's use the following set of data in a table named Returns for the sake of having a concrete ...
Alexis Olson's user avatar
  • 40.4k
9 votes
1 answer
13k views

How to import data in any programming way from published specific Power BI visual to another PBI report or SQL Server table or just scrap it to local drive? I would like to achieve the same effect as ...
Przemyslaw Remin's user avatar
7 votes
3 answers
9k views

I'm looking a solution to combine Power BI authentication and a web application. We authenticate our users using existing web application and let them see the dashboard and reports in Power BI portal, ...
Sam's user avatar
  • 456
6 votes
3 answers
29k views

How to select row with max value per category in M of Power BI. Suppose we have table: +----------+-------+------------+ | Category | Value | Date | +----------+-------+------------+ | apples ...
Przemyslaw Remin's user avatar
5 votes
2 answers
5k views

Hi I have the following data and am trying to return a distinctcount of the number of Teams irrespective of what teams are filtered to, but taking into account the filters applied to Client. i'm ...
Oliver Humphreys's user avatar
4 votes
1 answer
15k views

How to substitute REMOVEFILTERS in the following code with old school functions ALL and VALUES instead? This exercise is just to better understand REMOVEFILTERS. CALCULATETABLE ( -- get all ...
Przemyslaw Remin's user avatar
3 votes
1 answer
3k views

I have a table with inventory movements. Each inventory item has a unique ID and they change status overtime (let's say status A, B, C and D, but not always in this order). Each status change of an ID ...
Gergő Balázs Sinka's user avatar
2 votes
2 answers
1k views

I've been trying to follow this guide that tells me how to compare two columns but it just doesn't work for my scenario. This is what I have right now: And you can download it here: .pbix .xlsx My ...
Francesco Mantovani's user avatar

1
2 3 4 5
18