powerquery

fill time gaps with power query

試著忘記壹切 提交于 2020-01-11 11:59:40
问题 I have following data start stop status +-----------+-----------+-----------+ | 09:01:10 | 09:01:40 | active | | 09:02:30 | 09:04:50 | active | | 09:10:01 | 09:11:50 | active | +-----------+-----------+-----------+ I want to fill in the gaps with "passive" start stop status +-----------+-----------+-----------+ | 09:01:10 | 09:01:40 | active | | 09:01:40 | 09:02:30 | passive | | 09:02:30 | 09:04:50 | active | | 09:04:50 | 09:10:01 | passive | | 09:10:01 | 09:11:50 | active | +-----------+----

Power Query - Please rebuild this data combination

99封情书 提交于 2020-01-07 04:51:01
问题 i have this error on the power query. Formula.Firewall: Query 'Gunduz' (step 'Source') references other queries or steps, so it may not directly access a data source. Please rebuild this data combination. i have the query which is working fine on SQL side but Power Query has a problem with it. First Table7 is a "connection only" as a separate query. Output text of the query is also fine The Query is as follows : let param1 = Table7, ilktarih = Text.From(param1 {0} [Value]), sontarih = Text

Power Query - Please rebuild this data combination

梦想与她 提交于 2020-01-07 04:50:31
问题 i have this error on the power query. Formula.Firewall: Query 'Gunduz' (step 'Source') references other queries or steps, so it may not directly access a data source. Please rebuild this data combination. i have the query which is working fine on SQL side but Power Query has a problem with it. First Table7 is a "connection only" as a separate query. Output text of the query is also fine The Query is as follows : let param1 = Table7, ilktarih = Text.From(param1 {0} [Value]), sontarih = Text

Compare each column's contents with all other columns' contents and present matrix of match counts

纵然是瞬间 提交于 2020-01-07 03:58:26
问题 Given this table: I'd like to derive this table: ... sort of like a mileage chart in a map book. I'm trying to create a cross-table comparison of the words in each of the columns, against all of the other columns' words, to show how many matches there are between them. For instance, comparing Column 1 against Column2 might yield 4 matches. The yellow, bold outlined cells are the matches. And here's how I count them: I'm thinking there might be an 'easy' way to accomplish this using Power

Get date from weeknumber, dayofweek and year PowerQuery M

一笑奈何 提交于 2020-01-06 06:08:19
问题 I want to create an extra column to my dataset. This needs to be done by using M in PowerQuery. I have the weeknumber, dayoftheweek and year available. This can be done by using the following formula in Excel. I need something similar but then in M. Date = DATE([year],1,-2)-WEEKDAY(DATE([year],1,3))+[week]*7 + [day]-1 For example: Week 2, Day 3, Year 2019 should be: 9-1-2019 (In #dd-mm-yyyy#) Thanks in advance 回答1: This will do it = Table.AddColumn(Source, "Custom", each Date.From(Number.From

Having trouble with Text.BeforeDelimiter

家住魔仙堡 提交于 2020-01-05 04:04:17
问题 Any idea why this: = Table.AddColumn(#"Merged Columns", "Custom", each Text.BeforeDelimiter("ABCDEFG","E")) Is giving me this: ? My expectation is that this would populate each cell in the column "Custom" with "ABCD". I've checked and rechecked the spelling. What am I missing? 回答1: This function was recently added to Power BI Desktop (April 2017 update) and even more recently to Power Query in Excel. So probably you are using the function in an environment where it is not yet available. If I

How to pull out data using power query from 1 cell (link pasted in cell A1) from sheet 1 to Sheet 2?

扶醉桌前 提交于 2020-01-04 14:19:21
问题 I have a link of a website from where I want to pull out data through power query. Every time, this link will get changed as per need. So I need to use power query every time. Is there any way to build up power query which shows that I'll change link and data will be refreshed? Is it possible that I paste link in cell A1 of sheet 1 and I fetch data to sheet 2? Please guide me. 回答1: Click on the cell with the URL, then open menu Power Query > Excel Data > From Table (uncheck "My table has

How to pull out data using power query from 1 cell (link pasted in cell A1) from sheet 1 to Sheet 2?

梦想与她 提交于 2020-01-04 14:19:11
问题 I have a link of a website from where I want to pull out data through power query. Every time, this link will get changed as per need. So I need to use power query every time. Is there any way to build up power query which shows that I'll change link and data will be refreshed? Is it possible that I paste link in cell A1 of sheet 1 and I fetch data to sheet 2? Please guide me. 回答1: Click on the cell with the URL, then open menu Power Query > Excel Data > From Table (uncheck "My table has

Matchlists/tables in power query

混江龙づ霸主 提交于 2020-01-02 08:00:14
问题 I'm thinking this has to have a simple answer, but I can't find any examples. I have to compare every member of a list to a list of substrings to see if that member contains a substring, and if it does - return the substring to a third list at the same position as the member of the first list. Example: ListA = {"help me rhonda", "in my room", "good vibrations", "god only knows"} ListB = {"room", "me", "only"} ListC should then should = {"me", "room", null, "only"} I'm an advanced programmer

Overcome the export limit of 150k rows from Power BI

只谈情不闲聊 提交于 2020-01-01 19:43:15
问题 Is there a way to overcome Power BI export limit of max 150k rows? Limit docs: https://docs.microsoft.com/en-us/power-bi/visuals/power-bi-visualization-export-data#limitations-and-considerations Voting for PBI improvement: https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/18432742-increase-export-data-limits 回答1: Ok, I got through with that. It is possible. You should be familiar with R and SQL Server to do that. The example below exports 201k rows directly form PBI to SQL