Mincing Data - Gain insight from data

This site will be a container for all my musings about the analytical pipeline.

For this reason it will be necessary to define the Analytical Pipeline (at least define this pipeline from my point of view). From a general perspective (be aware that this is my perspective) five activities are necessary to build an analytical pipeline, these steps are






 The overall goal of an analytical pipeline is to answer an analytical question. To achieve this overall goal, different data sources have to be targeted and their data has to be ingested into the pipeline and properly processed. During these first steps the data ingested into the pipeline often has to be stored in one or more different data stores, each is used or its special type of usage, finally the result of the data processing has to be delivered to its users, its audience. Depending on the nature of the question, different types of processing methods and also different data stores may be used along the flow of the data throughout the pipeline.


I put a direction to these activities, but I also added this direction to spur your critical mind, because

  • source data is of course also stored somewhere
  • to target the source can become a challenge in the pipeline
  • to deliver processed data to the its audience can become a another challenge  if you try to deliver to mobile workforce
Successfully ingested data often gets processed more than once to answer different questions, and during its existence (inside an analytical data platform) this data will be transformed into various shapes, wrangled by different algorithms, and ingested into different "data stores".

For this reason I believe that these activities are tightly related, and the above mentioned sequence of these activities will just aid as a guidance.


I will use blog posts to describe how different activities are combined to answer analytical questions. In most of my upcoming blog posts I will link to different topics from the activities used in the pipeline. Each activity has its own menu and is by itself representing an essential part in analytical pipeline.


Hopefully this site will help its readers as much as it helps me to focus on each activity always knowing that most of the time more than one activity has to be mastered to find an answer to an analytical question.

My favorite windowing function - WINDOW

The DAX windowing functions have helped me a lot in tackling complex analytical challenges. Nevertheless, I do not use them daily. This means sometimes I need time to regain the “windowing feel” again. This article will shorten the time until I’m thinking “windowing” again. Maybe it might help you as well.


I assume that you are aware of the mini-series of articles by Jeffrey Wang:


I consider RANK and ROWNUMBER somewhat special, so I will spare these two functions for a later article. Then, in my imagination, I consider OFFSET and INDEX as a shorter form of WINDOW. Because I like to minimize the number of tools I use, I will focus on WINDOW, but will mention OFFSET and INDEX when a somewhat shorter DAX statement can be used. What I love about these functions is the parameter called relation, which also gets me confused now and then. Even more if this parameter can be omitted. The official documentation (https://learn.microsoft.com/en-us/dax/window-function-dax) says it’s


A table expression from which the output rows are returned.


DAX guide (https://dax.guide/window/) states:


A table expression from which the output row is returned.




Here you can download the pbix file that contains the DAX measures: https://tommartens-my.sharepoint.com/:u:/g/personal/tom_minceddata_com/EaYvRtR7pL5JkB44j-VH1e4BgaO-cB8EHOgacJfr6tnkVg?e=2RR6sL

The relation parameter

mehr lesen 0 Kommentare