Quantcast
Channel: SQLBI
Viewing all articles
Browse latest Browse all 434

Linked Table, Reverse Linked Table and Linkback Table in Excel 2013 #powerpivot

$
0
0

Kasper de Jonge wrote a blog post last year introducing an interesting new feature in Excel 2013: you can write a DAX query that extracts data from the PowerPivot model and returns a table in Excel. Such a table can be used as a Linked table for the same PowerPivot model, creating an interesting opportunity to inject data in a data model mixing existing data and calculations obtained with Excel formulas.

I wrote an article on SQLBI that describes this feature in more detail and we discuss this capability also in the book Excel 2013 Building Data Models with PowerPivot that will be available in March 2013 (you can already order it). Because data can flow back and forth between Excel tables and the PowerPivot data model, we created a particular definition for each type of “connected” table:

  • Linked Table (Excel –> PowerPivot): the classical Linked Table
  • Reverse Linked Table (PowerPivot –> Excel): this is an Excel Table contained data resulting from a DAX query to the data model.
  • Linkback Table (PowerPivot –> Excel –> PowerPivot): this is a Linked Table based on a Reverse Linked Table (usually integrating some new columns filled with constants and/or Excel formulas).

The article shows how to create a Linkback table step-by-step, applying different Excel calculations to different rows (something you cannot do on calculated columns in DAX), and it also contains some consideration about refresh order that is applied to Linkback tables.


Viewing all articles
Browse latest Browse all 434

Trending Articles