dax

dax

1079 bookmarks
Custom sorting
Calculated columns and measures
Calculated columns and measures
One of the powerful features of the Tabular data model is to extend the model by adding calculated columns and measures. Both objects are defined using DAX, but besides this similarity, they are entirely different beasts. Here you will find guidance when to use what!
Power_BI_tips·minceddata.info·
Calculated columns and measures
Power BI Simplification with Calculation Groups
Power BI Simplification with Calculation Groups
In this post, we will take a step by step approach to simplify a report with 6 pages + 12 measures into 1 page report + 1 measure. After optimising the report, we will explore a change that will …
Power_BI_tips·flip.it·
Power BI Simplification with Calculation Groups
Creating Filtered Measures, or how to show the total along with the detail in a chart.
Creating Filtered Measures, or how to show the total along with the detail in a chart.
It's a terrible title, but by the end I hope it makes sense Today I had some spare time and I thought I would do some c# that is always good to keep your mind going.  The goal was to create a script that given a base measure, you can then specify a column and a new measure will be generated for e
Power_BI_tips·esbrina-ba.com·
Creating Filtered Measures, or how to show the total along with the detail in a chart.
Group your data according to dynamic measure results
Group your data according to dynamic measure results
To group some data in the report, it is very common to create a custom column or a calculated column based on specific conditions, and then put this column in a slicer to filter visuals. This would generate more data in the model and the group result is fixed. If the data used in the conditions is f...
Power_BI_tips·community.powerbi.com·
Group your data according to dynamic measure results
Understanding context transition - SQLBI
Understanding context transition - SQLBI
Context transition is one of the most obscure topics for DAX newbies. Learn how it works, its effects, and how to leverage it rather than be scared of it.
Power_BI_tips·sqlbi.com·
Understanding context transition - SQLBI
Using KEEPFILTERS in DAX - SQLBI
Using KEEPFILTERS in DAX - SQLBI
This article explains how to use KEEPFILTERS to intersect instead of override an existing filter context in DAX. Using KEEPFILTERS simplifies the code and i
Power_BI_tips·sqlbi.com·
Using KEEPFILTERS in DAX - SQLBI
Using PowerShell to create Calculation Groups in Power BI Desktop - Phil Seamark on DAX
Using PowerShell to create Calculation Groups in Power BI Desktop - Phil Seamark on DAX
Background I recently shared on Twitter a 7-module learning path on MS Learn that teaches all you need to know about calculation groups in Power BI. This learning path is an excellent course, and I highly recommend it. However, as part of this exchange, I received a reply from someone lamenting that calculation groups are … Continue reading Using PowerShell to create Calculation Groups in Power BI Desktop
Power_BI_tips·dax.tips·
Using PowerShell to create Calculation Groups in Power BI Desktop - Phil Seamark on DAX
Understanding the optimization of SWITCH
Understanding the optimization of SWITCH
The SWITCH function in DAX has been optimized over the years, and it is helpful to know what makes the optimization work best. The SWITCH function in DAX is widely used to define different execution paths depending on the condition of an expression. A very common case is when we want to check the sta
Power_BI_tips·flip.it·
Understanding the optimization of SWITCH
Conditional formatting with thresholds in Power BI
Conditional formatting with thresholds in Power BI
Conditional formatting is an easy way to highlight values so report users can receive quick insights on the status of key metrics. In this post, I will be showing a way to apply dynamic conditional formatting on visuals with set thresholds. This will...
Power_BI_tips·troubleshootbi.hashnode.dev·
Conditional formatting with thresholds in Power BI
Controlling Calculation Items with RLS
Controlling Calculation Items with RLS
Controlling Calculation Items with RLS can't be done directly, but you can do it indirectly with another calculation group. This article shows you how.
Power_BI_tips·esbrina-ba.com·
Controlling Calculation Items with RLS