Measure Branching: LuckyTemplates Development Strategy

I’d like to share with you a development strategy or concept in LuckyTemplates called measure branching. You may watch the full video of this tutorial at the bottom of this blog.

This is one of my favorite topics in LuckyTemplates especially around DAX formula. I personally use this technique and you’ll see me apply it often in many of my tutorials. It’s how I build high quality and intuitive LuckyTemplates models.

Measure branching is really key to getting really advanced in LuckyTemplates.

This tutorial is from a training workshop that I did in LuckyTemplates, which was about discovering advanced insights in LuckyTemplates. It’s through LuckyTemplates strategy, measure branching that we can discover these advanced insights really fast.

Measure Branching: LuckyTemplates Development Strategy

We’ll look through the report and I’ll show you how I derived some of the calculations that I created.

Table of Contents

What is Measure Branching?

In this report, I have QoQ (quarter on quarter) Sales Performance. But then from that I derived a moving average or trending analysis based on QoQ Sales Performance.  

Measure Branching: LuckyTemplates Development Strategy

I didn’t just look at quarter-on-quarter sales, but I also looked at the moving averages of sales versus the previous quarter. This enabled me to look at the trends a lot easier.

Then from that I even derived QoQ Sales Difference. I also did the same for margins and for customers across sales performance and marginal performance as well. This is what measure branching is.

Measure Branching: LuckyTemplates Development Strategy

Nothing is really simple here. We’re actually getting to a much deeper level of analysis when we utilize measure branching. In this example, I’ll show you just an overview of how I set up my models to incorporate this strategy.

Incorporating Measure Branching Into Your Model

The way I replicate these branches in my models is I create measure groups or measure tables. If we look here on the right hand side, I have my Key Measures, which are all the core calculations. Think about them as the “trunk” of a tree.

Measure Branching: LuckyTemplates Development Strategy

Then you can see I have branches off my core measures. I have my Time Comparison branch or measures in this table, my Moving Averages branch, and my Cumulative Totals branch.

Measure Branching: LuckyTemplates Development Strategy

We can have many different measures inside these branches. We can go even deeper and get multiple layers of branches as well.

This is how I set it up my models and I find this very beneficial from a structuring perspective. I can easily reference certain measures, drag them into my reports, and then create my visualizations. This is how I can create more advanced visualizations, have a much better understanding of what’s being overlaid on my model, and ultimately get some really great insights. 

Core Calculations And Measure Branching

I always start with core calculations because simple DAX is the beginning of anything advanced, any branch, or layers of measure branching. In this case, I have a very generic Total Sales.

Measure Branching: LuckyTemplates Development Strategy

But from this core measure, we can derive so many different things. We can branch out into time comparisons, for example. If we look at all these formulas, we can see they have Total Sales.

Measure Branching: LuckyTemplates Development Strategy

Measure Branching: LuckyTemplates Development Strategy

Measure Branching: LuckyTemplates Development Strategy

If we look at the Moving Average branch, Total Sales appears in there as well.

Measure Branching: LuckyTemplates Development Strategy

The core calculation, which is Total Sales, branches out in all these different measures. 

However, this is just the first layer of the branch and we can even branch out further from here. We can jump into another layer, where we reference the core measure Total Sales as well as the first layer of branch – Sales LQ (last quarter).

Measure Branching: LuckyTemplates Development Strategy

So, you see here that there’s no reference at all back to the core table. It’s only referencing measures. When we structure our models like this, things can become relatively intuitive.

How Measure Branching Works In LuckyTemplates

LuckyTemplates is so smart; it understands what sits underneath all of these branches of measures. There are no columns of the data reflected in the branched out measures but LuckyTemplates remembers what’s sitting underneath them.

In other words, in this particular measure for example, it will remember Total Sales and reference that particular column in the Sales table and look at Sales LQ as well.

Measure Branching: LuckyTemplates Development Strategy

We can just keep going layer upon layer, depending on the analysis that we’re doing. We don’t need to write complex formulas to get great insights.


Use LuckyTemplates Measure Branching To Check If Your Margins Expand As Revenue Grows
Forecasting In LuckyTemplates: Compare Performance vs Forecasts Cumulatively w/DAX
Advanced DAX For LuckyTemplates: Implementing Ranking Logic Across Unique Insights

Conclusion

This LuckyTemplates strategy or technique simplifies things a lot especially the formulas. As you can see in this tutorial, none of the formulas are complex or overly difficult. It’s all about overlaying simple patterns of formula and putting the correct core calculation or branch of measure inside it.

You only need to start with setting up a simple core measure. After that, you can branch out to more advanced calculations by means of iteration.

Consequently, you’ll come to an important realization. You can actually have multiple branches from this one core calculation that you’ve created. You won’t need to write overwhelming formulas that are difficult to understand.

All the best!

Leave a Comment

Excel Hücrelerini Metne Sığdırma: 4 Kolay Çözüm

Excel Hücrelerini Metne Sığdırma: 4 Kolay Çözüm

Excel hücrelerini metne sığdırmak için güncel bilgileri ve 4 kolay çözümü keşfedin.

Bir Excel Dosyasının Boyutu Nasıl Küçültülür – 6 Etkili Yöntem

Bir Excel Dosyasının Boyutu Nasıl Küçültülür – 6 Etkili Yöntem

Bir Excel Dosyasının Boyutunu Küçültmek için 6 Etkili Yöntem. Hızlı ve kolay yöntemler ile verilerinizi kaybetmeden yer açın.

Pythonda Self Nedir: Gerçek Dünyadan Örnekler

Pythonda Self Nedir: Gerçek Dünyadan Örnekler

Python'da Self Nedir: Gerçek Dünyadan Örnekler

Rde Bir RDS Dosyası Nasıl Kaydedilir ve Yüklenir

Rde Bir RDS Dosyası Nasıl Kaydedilir ve Yüklenir

R'de bir .rds dosyasındaki nesneleri nasıl kaydedeceğinizi ve yükleyeceğinizi öğreneceksiniz. Bu blog aynı zamanda R'den LuckyTemplates'a nesnelerin nasıl içe aktarılacağını da ele alacaktır.

İlk N İş Günü Tekrar Ziyaret Edildi – Bir DAX Kodlama Dili Çözümü

İlk N İş Günü Tekrar Ziyaret Edildi – Bir DAX Kodlama Dili Çözümü

Bu DAX kodlama dili eğitiminde, GENERATE işlevinin nasıl kullanılacağını ve bir ölçü başlığının dinamik olarak nasıl değiştirileceğini öğrenin.

LuckyTemplatesda Çok İş Parçacıklı Dinamik Görsel Tekniği Kullanarak Öngörüleri Sergileyin

LuckyTemplatesda Çok İş Parçacıklı Dinamik Görsel Tekniği Kullanarak Öngörüleri Sergileyin

Bu eğitici, raporlarınızdaki dinamik veri görselleştirmelerinden içgörüler oluşturmak için Çok Kanallı Dinamik Görseller tekniğinin nasıl kullanılacağını kapsayacaktır.

LuckyTemplatesda İçeriği Filtrelemeye Giriş

LuckyTemplatesda İçeriği Filtrelemeye Giriş

Bu yazıda, filtre bağlamından geçeceğim. Filtre bağlamı, herhangi bir LuckyTemplates kullanıcısının başlangıçta öğrenmesi gereken en önemli konulardan biridir.

LuckyTemplates Çevrimiçi Hizmetindeki Uygulamaları Kullanmak İçin En İyi İpuçları

LuckyTemplates Çevrimiçi Hizmetindeki Uygulamaları Kullanmak İçin En İyi İpuçları

LuckyTemplates Apps çevrimiçi hizmetinin çeşitli kaynaklardan oluşturulan farklı raporların ve içgörülerin yönetilmesine nasıl yardımcı olabileceğini göstermek istiyorum.

Fazla Mesai Kâr Marjı Değişikliklerini Analiz Edin - LuckyTemplates ve DAX ile Analitik

Fazla Mesai Kâr Marjı Değişikliklerini Analiz Edin - LuckyTemplates ve DAX ile Analitik

LuckyTemplates'da ölçü dallandırma ve DAX formüllerini birleştirme gibi teknikleri kullanarak kâr marjı değişikliklerinizi nasıl hesaplayacağınızı öğrenin.

DAX Studioda Veri Önbellekleri İçin Materyalleştirme Fikirleri

DAX Studioda Veri Önbellekleri İçin Materyalleştirme Fikirleri

Bu öğreticide, veri önbelleklerini gerçekleştirme fikirleri ve bunların DAX'ın sonuç sağlama performansını nasıl etkilediği tartışılacaktır.