Anyone Tried Pulling Data from AdWords API?
Comfort Functions for Easy Profit & Loss statements in Power BI and Excel - Part2 – The BIccountant
Here comes some long awaited comfort functions for part 2 of my easy P&L series, where you don't have to define the single accounts any more.
Conditions in FirstN, LastN and other xN-functions in M, PowerBI and Power Query – The BIccountant
Today I discovered that we can use conditions in many of the N-selecting functions where one/I would normally expect just a number-expression for the N: Table.RemoveFirstN( table as table, optional countOrCondition as any) (…) Read more
Specifying Allowed Values, Sample Values and Descriptions For Function Parameters In Power Query–Part 1 – Chris Webb's BI Blog
The other day when I was thinking about Power Query functions (as you do) it occurred to me that they would be a lot more usable if, when you invoked them, you could show your users a dropdown box …
Get List of Queries in Power BI
On lazy value evaluation order in Power Query and Power BI | Excel Inside
Things to keep in mind when implementing time-delayed evaluations in #PowerBI #PowerQuery
Column Reordering Disorder - Pitfall #4 in #PowerBI #PowerQuery - DataChant
Follow Me Order is a crucial force in life, especially if you are a data analyst. But as we will see today, the misuse of order might cause an unexpected chaos. In today’s post, we will discuss the chaotic nature of column ordering in the Query Editor of Power BI and Power Query / Get & …
Projections with Power BI (M language) | Ambiguity vs Information
In a previous blog post, I explained how to list all the Data Platform MVP by parsing a single web page. In a second blog post, I parsed the individual pages of each MVP to get information about he…
Do … While loop with Power BI (M language). | Ambiguity vs Information
In a first blog post, I explained how to list all the Data Platform MVP by parsing a single web page. In a second blog post, I parsed the individual pages of each MVP to get information about her a…
Parsing a string with Power BI (M language) | Ambiguity vs Information - Linkis.com
A few days ago, I read an interesting blog post of Lukas Lötters [b|t] where he is explaining how to use regular expressions in Power BI (M language) by running an R script. It’s...
How to Get Lowest Level Hierarchy Members without knowing number of levels.
Callum | Buffer() M Function in Query Editor (Power BI)
Callum - Callum Green's Blog -
Power Query Function that Returns Multiple Values | RADACAD
Conditional select value by split string and merge query
Cleansing Data with Power Query - Excelerator BI
Using Earlier and Countrows to create a rank based on 2 columns
Finding text strings of table inside text strings of other table
Select Table 2, click the Query tab, and click Reference. This will create a new query that references Table 2 and will allow us to add a lookup column without enabling Fast Combine.Add a custom column with the following formula: List.First(List.Select(Table1[Product],(productName) = Text.Contains(productName, [Product])))Viola!
How Many Working Days Has An Employee Been Off Work? - PowerPivotPro
I answered some forum questions recently that were similar in nature and I thought they would make a good blog article. The scenario is this: there is a ta
Transform Column using custom function in Power Query (part 2)
Year ago I wrote a post Transform table column using own function in Power Query. According to stats, it is quite popular topic, and I’m not surprised. However, I think that old post is quite…
Clean WhiteSpace in Power QueryThe Ken Puls (Excelguru) Blog
Power Query’s Text.Trim function doesn’t clean whitespace inside the text string, only at the ends. This article shows a custom function that does.
Implementing Common Calculations In Power Query – Chris Webb's BI Blog
let Source = Excel.CurrentWorkbook(){[Name="Table4"]}[Content], Subtotals = Table.Group(Source, {"Category"}, {{"Category Sales", each List.Sum([Sales]), type number}}), JoinTables = Table.Join(Source, "Category", Subtotals, "Category"), InsertedCustom = Table.AddColumn(JoinTables, "Share", each [Sales]/[Category Sales]), RemovedColumns = Table.RemoveColumns(InsertedCustom,{"Category Sales"})in RemovedColumns
Automatically remove empty columns and rows from a table in Excel using Power Query - DataChant
Follow Me In today’s tutorial we will solve a very common challenge in Excel. You start with an Excel table and you wish to condense it by removing all the columns and/or rows which are entirely empty, and usually you don’t have prior knowledge which columns and rows are empty. For example, In the screenshot …
Nested Calculations In Power Query
Quite often, in Power Query, you want to
Matchlists/tables in power query
let fxContain = (txt as text, idx as number) = let Result = if Text.Contains(txt,ListB{idx}) then ListB{idx} else if idx = ListCountB then null else @fxContain(txt,idx+1) in Result, ListA = {"help me rhonda", "in my room", "good vibrations", "god only knows"}, ListB = {"room", "me", "only", "help"}, ListCountB = List.Count(ListB)-1, ListC = List.Transform(ListA, each fxContain(_,0))in ListC
How to use Record.Field for a list
Hi bjzk. You're going to have issues if you use Table.ColumnNames(GetH123Prices) to derive the equivalent of ColumnList in my example. Instead, you'll need to specify the names of the columns you want to check against (or use a formula to automatically whittle down the list of column names to exclude H0 and any other columns you don't want to check). For example:= Table.AddColumn(GetH123Prices, "ContainsH0", each List.Contains(Record.FieldValues(Record.RemoveFields(_, "H0_Price")), [H0_Price]))EhrenTuesday, August 09, 2016 6:26 PMReply | QuoteEhren - MSFTMicrosoft (MSFT) 6,290 PointsOwner
Text Contains Any Of
let ListOfWords = List.Buffer({"ed", "us", "an"}), Source = Table.FromColumns({{"red bus","blue train", "orange airplane"}}, {"some text"}), AddColumn = Table.AddColumn(Source, "Custom", (x) = List.AnyTrue(List.Transform(ListOfWords, each Text.Contains(x[some text], _))) )in AddColumn
Matchlists/tables in power query
let fxContain = (txt as text, idx as number) = let Result = if Text.Contains(txt,ListB{idx}) then ListB{idx} else if idx = ListCountB then null else @fxContain(txt,idx+1) in Result, ListA = {"help me rhonda", "in my room", "good vibrations", "god only knows"}, ListB = {"room", "me", "only", "help"}, ListCountB = List.Count(ListB)-1, ListC = List.Transform(ListA, each fxContain(_,0))in ListC
How to store tables longer than 1,1 Mio rows in an Excel-sheet using Power Query and JSON – The BIccountant
This article describes how you can store tables longer than 1,1 Mio rows in an Excel-sheet using Power Query and JSON compression.
Day Number of Year, Power Query Custom Function | RADACAD
Power Query, Power BI And The “Allow Data Preview To Download In The Background” Option – Chris Webb's BI Blog
Recently I was asked by a customer to do some tuning on an Excel workbook with a lot of Power Query queries in it. Although all of the data used in the queries was coming from tables in the workboo…