Quantcast
Channel: Power Query Archives –
Browsing all 111 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Happy Spreadsheet Day! (Or how to escape Excel-hell)

When reading horror-stories about Excel-hell describing how dangerous it is to use Excel in corporate environments, I cannot help but to think of this hillarious video describing the fatal consequences...

View Article


Image may be NSFW.
Clik here to view.

Tip for Parameter Tables in Power Query and Power BI

Parameter tables in Excel are normally set up like this: In order to retrieve the currency for example, you could write this: = Parameters[Value]{2} This returns the content of the “Value”-column of...

View Article


Image may be NSFW.
Clik here to view.

Power Query & Power BI are ideal learning paths from Excel to R

Reading Jen Stirrup’s great article about the learning path for SQL Server 2016 and R I ended up learning my first R pieces from this wonderful post that she has referenced. There Tony Ojeda...

View Article

Image may be NSFW.
Clik here to view.

Visualize dependencies between your DAX measures: DAX-VizArt-Wizard

This DAX-VizArt-Wizard vizualizes dependencies between your DAX measures, shows the definition of all related measures and shows differences between the measures of 2 models/versions. This works for...

View Article

Image may be NSFW.
Clik here to view.

Use R to export data from Power BI (and Power Query)

Edit 22 Jan 2016: Currently this method is limited to 150k rows! It will drop all others without warning! Edit 25 Jan 2016: 150k rows is the limit on all R-scripts at the moment (link). A warning sign...

View Article


Image may be NSFW.
Clik here to view.

Visualize query dependencies in Power BI with Sankey diagram

This week we got a new Sankey diagram. It has some advantages when visualizing dependencies between items/nodes, one being not to cut the labels. Time to share a tool that I use a lot when working with...

View Article

Image may be NSFW.
Clik here to view.

Trap in Replacement function in Power Query/M/PowerBI

Recently Power Query’s replacement function greeted me with some unexpected results: I applied the same steps but sometimes replacements of blanks with nothing did what it should and sometimes not....

View Article

Image may be NSFW.
Clik here to view.

How to create a Load History or Load Log in Power Query or Power BI

If you want to collect your regularly loaded data without overwriting it or create a load log that writes the load activites with a timestamp into a table, you need to create a query that adds new...

View Article


Image may be NSFW.
Clik here to view.

How to use regular charts on dynamic pivot tables in Excel

There are many good reasons not to use Pivot charts as described in this article i.e. – one I would like to add is the bug when using “invert if negative”: The inverted colour will disappear once you...

View Article


Image may be NSFW.
Clik here to view.

Select rows that have no empty fields using Expression.Evaluate in Power BI...

This article describes the use of Expression.Evaluate as a very helpful “swiss-army-knife”-method for your Power BI toolbox as it has many more use cases than the one described below. It lets you...

View Article

Image may be NSFW.
Clik here to view.

How to handle M-code samples

If you use Power Query or the query editor in Power BI every step you take will be recorded and translated to M-code. You can share this code and it will run in the new environment – so no need to...

View Article

Image may be NSFW.
Clik here to view.

How to share M-code in PowerBI and Power Query

One of M’s advantages is that you can share M-code in textform and it will run instantly on a different computer. So no need to actually exchange a file. Provided that you pass the data on as well with...

View Article

Image may be NSFW.
Clik here to view.

PowerBI Best Practice: Views for non-database data

Marco Russo has shared bunch of very valuable PowerBI best practice tricks for designing your PowerBI model here:...

View Article


Image may be NSFW.
Clik here to view.

How to hack yourself in Power BI (and Power Pivot?)

Reading Gerhard Brueckl’s post on how to visualize SSAS calculation dependencies reminded me of my post about a similar technique from December last year. His solution has features that would do my...

View Article

Image may be NSFW.
Clik here to view.

How to display Power Query results with line feed or carriage return

Although you can inject linefeeds (“#(lf)”) and carriage returns (“#(cr)”) in Power Query, lines will not break in the Excel-display. This simple trick makes your lines break nicely in Excel: Click...

View Article


Image may be NSFW.
Clik here to view.

Universal JSON-opener for Quandl in PowerBI and Excel/Power Query

Today I discovered JSON (…confess) and Quandl. Mates! How I whish I had more time (toolbox looking great in my imagination, seeing incremental loads, custom aggregations, user defined parameters (yet...

View Article

Image may be NSFW.
Clik here to view.

Multiple replacements or translations in Power BI and Power Query

A common task when cleaning data is to perform multiple replacements at once. When dealing with “translation tables” you might have come across Chris Webb’s solution using List.Generate to deal with...

View Article


Image may be NSFW.
Clik here to view.

How to analyse M-functions step-by-step?

This is a quick tutorial on how to analyse M-functions step-by-step. Queries, that have been transformed into a function (1) can be invoked in the query-editor (2) and they will then return their...

View Article

Image may be NSFW.
Clik here to view.

Advanced type detection in Power BI and Power Query:...

This is not a proper blogpost, just a quick share of a function I’ve created today which I think will be very useful for others as well: Automatic type detection will assign only one type to a column,...

View Article

Image may be NSFW.
Clik here to view.

Easy Profit and Loss and other (account) scheme reports in Power BI and Power...

This is about an easy way to create typical finance reports like Profit and Loss using DAX that (unlike all other solutions I’ve come across so far) can be handled with very basic knowledge of this...

View Article
Browsing all 111 articles
Browse latest View live