6,403
questions
0
votes
1
answer
39
views
Excel how to merge duplicate rows into a single row with additional columns?
I need help formatting my data as shown in the image below. These are only 3 columns, I have so many of these. How can I format this.
Current State
Desired State
For a context, my dataset has 2100 ...
0
votes
2
answers
19
views
What should my query look like for a Power Query Table column to provide an average of values in a mother column that match?
I have a table in power query "MASTER_Global Game Table" which has multiple columns in it. I have added an additional column which I would like to provide an average of another column for ...
0
votes
1
answer
19
views
How to reference multiple named cells or range in one query
My company requires an excel sheet to calculate multiple factors for employees. I currently have this set up to calculate for one employee at a time by have a named cell, EMPID, which is thrown into ...
1
vote
2
answers
42
views
Power Query Dynamic Column Reference
The answer to this question is either the answer to my question or a close runner up. My main problem is I almost totally do not understand the syntax of the answer.
I have multiple weekly dates that ...
0
votes
0
answers
18
views
Power query changes the case after remove duplicate and load to powerbi
I load a simple table into power query (two rows Marrick & MARRICK)
data in excel
I then remove duplicates and confirm the table still have two rows (Marrick & MARRICK). This is expected ...
-1
votes
1
answer
83
views
How to Separate Data with Inconsistent Patterns into a Structured Format in Excel [closed]
Inconsistent Values in Cells
I'm working with a dataset where multiple values in a cell are tagged under categories like Location, Host, Guest, and Bucket, and separated by line breaks. I need to ...
1
vote
2
answers
41
views
how to append two columns in the same table in Power BI
i have four columns: team1 and team2, and also goals 1, and goals2.
i want to make top 5 teams with their goals in the report view for both team1 and team2, how do i append the teams columns together ...
1
vote
3
answers
52
views
Index match in Power Query M
I have data that looks like the below example. There is a unique list of IDs in the ID column, a data type in the second column a secondary ID in the third column (which maps to an ID in the first ...
0
votes
2
answers
25
views
How to refresh a query in VBA when the query name is the result of a concatenated string
I'm trying to use
Private Sub Workbook_Open()
Dim WeekNum As String
Dim QueryName As Variant
WeekNum = WorksheetFunction.WeekNum(Now, vbSunday)
QueryName = ("2024Week" & WeekNum)
...
1
vote
1
answer
17
views
Is it possible to duplicate a query and disconnect it in Power Query of Power BI, so it does not refresh?
I was wondering if there is a way to duplicate a query (make a snapshot) in Power BI (Source: SQL) and prevent that duplicate from refreshing. For example, I want Power BI to memorize the view of my ...
-1
votes
0
answers
17
views
PowerBI Power Query question; create table from one of muliple workbooks connected via SharePoint site [closed]
We have PowerBI connected to an online SharePoint site, pulling all the available xlsm workbooks contianed within the site. We would like to create a single table from just one of the available ...
1
vote
1
answer
41
views
Data Refresh Time Estimate for Incremental Refresh without Query Folding
I wanted to share some insights, assuming we move forward with the incremental refresh for the current month:
Without incremental refresh, the entire dataset (20 million records) can take up to 50 ...
0
votes
0
answers
22
views
Can I transform columns grouped in a table into new queries in Power Query?
I have a query in power query where I am grouping rows and this is my result:
I need to transform each Table into a new query, but in the future I will have many rows and it will be impossible to do ...
1
vote
1
answer
31
views
Where does one go to view the query error?
After I imported an Excel file into Power BI, the Query Editor showed one error. I then clicked on "View Error" in the following window.
Then it brought up the Query Editor. But I don't see ...
1
vote
1
answer
28
views
Query regarding MDX CALL statements for stored procedures in Power BI
I wanted to inquire if it is possible to call a stored procedure using the MDX CALL statement in Power BI. Specifically, I would like to know if this approach would enable query folding, thereby ...
0
votes
2
answers
40
views
How to combine the first row and second row into a new row in a new column in Power Query?
I need help in cleaning up data in Power Query. I'm trying to make another column based on the description column. How can I create a new column that will combine the current row and the next row as ...
2
votes
1
answer
22
views
Can Incremental Refresh Work Without Query Folding?
I am currently working on implementing incremental refresh in Power BI; however, I do not have the option to use query folding with my data source. Given this limitation, I would like to confirm ...
0
votes
0
answers
25
views
Why API Pagination in Power BI M Query limit is not working?
I'm new to working with APIs, especially with POST requests and pagination. I've managed to set up an API to pull data from Clarizen for Power BI M Query, but I'm hitting a wall with pagination.
I’m ...
1
vote
1
answer
55
views
If the data source is a SQL Server stored procedure in PowerBI, is it possible to do query folding in PowerQuery?
I am currently working with PowerQuery and would like to understand if query folding is possible when using a SQL Server stored procedure as a data source.
Specifically, I am executing the following ...
0
votes
2
answers
24
views
Power Query Solution to transform table
enter image description here
Could you please help me out this?
i have 2 tables following the picture, table 1 is from pdf file and i want to use power query to change to table 2 , if power query ...
0
votes
0
answers
26
views
Power BI Power Query: can a slicer be added to reference the data connection source files' names? Source files format is Excel worksbooks?
using Power BI connecting to possibly hundreds of formatted Excel workbooks. We would like to add a slicer that offers the consumer to filter based on file names not just the columns within the ...
0
votes
0
answers
23
views
I have an Excel file, where there are a lot of power queries, but my result power query is not loading [closed]
It just keeps loading. But, the remaining power queries are loading. even the 1st step in the result query is not loading, its just to get data from different query, which is already loaded.
I tried ...
0
votes
1
answer
25
views
PowerQuery: Using Html.Table / CSS selectors to extract the `src` from `<img>` fields
I have a long HTML file that I'm processing through PowerQuery like so:
= Html.Table(Source, {
{"Title", ".idea-heading"},
{"Description", ".ng-binding.idea-...
0
votes
2
answers
25
views
multi conditional for conditional column power query
I need to create a new column based on multiple conditions.
I have below code works but doest no give correct values.
what I want is:
when status is rejected the value is return reason
when status is ...
0
votes
0
answers
36
views
How to get the sum of previous 4 rows of a measured value in Power BI [closed]
I am trying to get the sum of four rows of a measured value as shown in below snapshot :
Trying to use sumx function but it is not working. This is the function I am using in Excel
= IFERROR(SUM(C9:C:...
1
vote
1
answer
67
views
Why does Power Query of a table of URLs show ''Null" when the URLs contain data?
I have a list of URLs e.g.
...net/family_tree/100.html
...net/family_tree/105.html
...net/family_tree/110.html
etc.
Power Query can get data from the first URL ...net/family_tree/100.html but returns &...
0
votes
1
answer
34
views
How to save PowerQuery source so that I can duplicate the spreadsheet and not have the source referring back to the original spreadsheet
Okay so I probably didn't explain very well in the long title so.....
I have an excel spreadsheet that uses power query. The source for the power query queries are within the workbook itself, so it ...
0
votes
3
answers
49
views
Power Query: Sum of every 2 weeks
I have a column with id, it has repeated items and columns with values. Data are like week 1, week 1, week 2, week 2, etc. I need to create a table where for week 3 I have an average value between 2 ...
0
votes
0
answers
46
views
I don't understand the logic behind the code in Power Query
I have a column "Name", in which each value is repeated twice. And each value has its own share (input data). I need to calculate the average share among the first occurrence of values in ...
0
votes
2
answers
43
views
Power Query M formula, replace delimited value within the same column
In reference to Power Query in Power BI. M formulas.
We have columns DATA 2 and DATA 3, we would like to replace the values in DATA 2 with the last index item of the column value, delimiter is ..
Next,...
1
vote
1
answer
25
views
Token Literal Expected Error in Power Query M Code using try and List.MatchesAny
I'm working on a Power Query M script to rename columns in a table based on certain conditions. However, I'm encountering a "Token Literal Expected" error when trying to use the try ...
-3
votes
0
answers
57
views
How to Lookup the value from left column to Right column in Power BI?
I want the OnLevelFactor value from left data group to right data group based on year. Note that OnLevelFactor is measured value.. The group names are "Year Rank" and "Rate Change Data&...
0
votes
0
answers
29
views
Update Items property of Gallery on Selection of gallery Item to auto-Update Gallery on same Screen without Navigating to new Screen
Is there any way to update the "Items" property of a Gallery, to kind of perform async on the Gallery without navigating to new screen
Items= [Category_Name:"C1", Category_Name:&...
1
vote
3
answers
86
views
How to get historical exchange rate data from the European Central Bank API?
I have trouble getting historical exchange rate data from the ECB API: https://data.ecb.europa.eu/help/api/overview
I am an absolute novice and so far I was only able to get the current exchange rates ...
1
vote
3
answers
92
views
Power Query: after combining 2 tables got something strange
I have a column in which each value is repeated twice. And each value has its own share (input data). I need to calculate the average share among the first occurrence of values in the first column and ...
0
votes
0
answers
37
views
Starting point for pagination query in Power Query
I am pulling from an api that uses these paging parameters (from their website)
`"links": {
"next": "/api/resource?page[number]=Mw==",
"prev": null`
my ...
0
votes
0
answers
38
views
Excel - Power Query - Calculated Column (Minimum Value)
I'm trying to create a column that only contains the minimum value of another column but keep running into an error. See below:
Power Query Window :
Any idea as to what is going on. It seems like ...
1
vote
1
answer
88
views
Power Query Filtered Rows based on value
I have two sources - a master list (Source1) and a weekly update (Source2). I want to check against ID numbers in Source2
filter for IDs that are not in Source1 and
check that the new IDs in Source2 ...
2
votes
1
answer
60
views
XLOOKUP equivalent in Power Query
I have a simple XLOOKUP formula that looks up a string in a master_list sheet and if that exists in the weekly_update sheet, it should update the contents of selected columns in the master_list with ...
0
votes
0
answers
12
views
Troubles filtering my source from EveryAngle (Angles for SAP) using Odata in PowerQuery
I'm having troubles filtering my data uploaded from everyangle through Odata in Powerquery,
The "$select" option does work, but the "$filter" doesn't.
I've tried many things I've ...
0
votes
1
answer
51
views
Excel PowerQuery. Negative numbers missing hyphen-minus symbol
I have multiple Excel files that I am trying to combine via PowerQuery. These files are generated by ERP system and have the column "Expenditures" with positive/negative numbers in default ...
1
vote
1
answer
29
views
how to change the data source from excel to sql server
how to change the data source from excel to SQL server without interrupt the current visualization in power bi,
if i use advance query edition i am getting the current visualization interruption.
0
votes
1
answer
24
views
PowerQuery connection to another excel file not retrieving entire table
I have one excel file that retrieves a list of transactions from another excel file.
Source = Excel.Workbook(File.Contents("D:\Documents\Dashboard.xlsm"), null, true),
T_TRANSACTIONS_Table = ...
0
votes
1
answer
33
views
Power Query - Filtered Rows
I have a Powery Query loading from an external spreadsheet. I would like to filter results using #Filtered Rows based on the value of a particular cell on a different sheet.
Example: Sheet 1 has cell ...
0
votes
1
answer
29
views
PowerBI how to show 1 type of value from a column that has many different values in a gauge chart?
I am new to Power Bi .
I have a column in excel which has a total of 300 rows. 100 of each of the following red, green, and blue.
I want to create 3 gauge charts to show these numbers for each values.
...
1
vote
1
answer
24
views
Issue with Syncing Date Slicer and Attendance Slicer in School Dataset
I'm working with a school dataset in Power BI, and I'm encountering an issue where I'm unable to synchronize the Date slicer with the Attendance slicer. My goal is to achieve dynamic interaction ...
0
votes
0
answers
20
views
Where Clause value from a Cell in Excel to retrieve data from a Cloud Database
I have a query that I have to run regularly. Using Get Data function via ODBC, I am able to import data perfectly fine for a static SQL code. However, is it possible to parse a value from the Cell in ...
0
votes
2
answers
41
views
How to get a list of manually modified values of a column from a Pivot Table?
I cannot find an answer to my problem anywhere. Sometimes, by mistake, when I press the spacebar, a value in my pivot table gets replaced with empty. Once I realize this has happened, I can't ...
0
votes
1
answer
20
views
Multiple Date Columns but need a single date slicer
I have table that looks a bit like this:
Closed Date
Open Date
Notification Date
Scheme Code
I have three visuals that look at Scheme Code vs (respective) Date:
No. Scheme Codes by Notification ...
1
vote
1
answer
72
views
Extracting the Day of the Week from DateTime column
I am using data from the Databricks catalog.
My column is of date/time type and is in the format "*14/03/2001 1:30:55 PM (General Date)".
I am trying to extract the day of the week (Monday-...