No video

Identifying & Optimizing DAX Patterns (Case-Study)

  Рет қаралды 1,431

Havens Consulting

Havens Consulting

Күн бұрын

Пікірлер: 8
@martinbubenheimer6289
@martinbubenheimer6289 8 ай бұрын
It's always good to be reminded of cleaning up the code. Did this change just optimize readability or does it also optimize performance?
@HavensConsulting
@HavensConsulting 8 ай бұрын
The clients fact table was only 50k rows so there wasn't enough data to actually get a MS change. But using DAX studio there were definitely fewer calls being ran since I was using fewer CALCUALTES and calling the same measure repeatedly was reduced. So a combo of both optimization and readability here.
@scramiro1
@scramiro1 7 ай бұрын
A good video (that I can´t see much on youtube) would be how you debug when a formula is not providing the number you seek. Some option:, use TOCSV to see the outupt table, dax query of the visual to see filter context, etc. How do you do this?
@HavensConsulting
@HavensConsulting 7 ай бұрын
I have an upcoming video to show examples of the DAX query view. Otherwise the video with Daniel Otykier where he walks through the DAX Debugger in Tabular Editor 3 is also fantastic :) kzfaq.info/get/bejne/o5qXbKWpyLvKZIk.html
@DanielWeikert
@DanielWeikert 8 ай бұрын
Did you see Performance improvement?
@HavensConsulting
@HavensConsulting 8 ай бұрын
The clients fact table was only 50k rows so there wasn't enough data to actually get a MS change. But using DAX studio there were definitely fewer calls being ran since I was using fewer CALCUALTE's and calling the same measure repeatedly was reduced. So a combo of both optimization and readability here.
@Nalaka-Wanniarachchi
@Nalaka-Wanniarachchi 8 ай бұрын
Nice case study,But it's always better to remember that variables are getting fixated before return statement.
@HavensConsulting
@HavensConsulting 8 ай бұрын
Good reminder, in the example I ran all the calculations are being ran before the return statement. So now calculation issues with this. Generally it's when you need to apply additional filters on a VAR that you need to consider where to apply the filter (during/after) declaring a VAR
Visual Calculations - Making [DAX] Easier (with Jeroen ter Heerdt)
1:28:59
Havens Consulting
Рет қаралды 3,5 М.
Not All Query Folding is Created Equal...Performance Tuning PQ
24:32
Havens Consulting
Рет қаралды 832
This Dumbbell Is Impossible To Lift!
01:00
Stokes Twins
Рет қаралды 37 МЛН
Dad Makes Daughter Clean Up Spilled Chips #shorts
00:16
Fabiosa Stories
Рет қаралды 3,6 МЛН
Or is Harriet Quinn good? #cosplay#joker #Harriet Quinn
00:20
佐助与鸣人
Рет қаралды 18 МЛН
Why You Shouldn't Nest Your Code
8:30
CodeAesthetic
Рет қаралды 2,7 МЛН
🚨 YOU'RE VISUALIZING YOUR DATA WRONG. And Here's Why...
17:11
Adam Finer - Learn BI Online
Рет қаралды 101 М.
The Secret Science of Perfect Spacing
9:40
Chainlift
Рет қаралды 408 М.
Gradient Donut in Power BI using SVG | Native Visual
13:00
Driven BI Data
Рет қаралды 1,8 М.
How Senior Programmers ACTUALLY Write Code
13:37
Thriving Technologist
Рет қаралды 1,5 МЛН
Steve Jobs on Consulting
2:14
Malonus
Рет қаралды 2,7 МЛН
Spotify Data Scientist Business Case Interview
28:40
Jay Feng
Рет қаралды 16 М.
DSPy Explained!
54:16
Connor Shorten
Рет қаралды 58 М.
Optimizing SUMMARIZE by using ADDCOLUMNS - Unplugged #40
14:31
This Dumbbell Is Impossible To Lift!
01:00
Stokes Twins
Рет қаралды 37 МЛН