dax

dax

1079 bookmarks
Custom sorting
Same Period Last Year to Date DAX Calculation in Power BI
Same Period Last Year to Date DAX Calculation in Power BI
I have previously written about how to calculate the same period last year calculation and compare this year's values with the last year's values. However, sometimes, you don't yet have the full year, especially for the current year. You might want to compare this year's value with the last year's value up until the same…
Power_BI_tips·radacad.com·
Same Period Last Year to Date DAX Calculation in Power BI
Calculate Totals in Power BI: Using Iterators in DAX – RADACAD
Calculate Totals in Power BI: Using Iterators in DAX – RADACAD
The total value that you see in a table is not actually SUM of all values in that column, it is, in fact, the calculation, when there is no filter. This, however, might not be the calculation that we want sometimes. we might want this value to be the sum of values of that column…
Power_BI_tips·radacad.com·
Calculate Totals in Power BI: Using Iterators in DAX – RADACAD
DAX Variables and IF/SWITCH Statements
DAX Variables and IF/SWITCH Statements
Earlier this week, a client came to me with a DAX error that I’d not seen before… Query (12, 4) Calculation error in measure : The True/False expression does not specify …
Power_BI_tips·byobi.com·
DAX Variables and IF/SWITCH Statements
Phil Seamark on DAX
Phil Seamark on DAX
Introduction For this blog, I want to share an interesting approach that can potentially speed up slow reports that include a distinct count calculation. The approach described in this article expl…
Power_BI_tips·dax.tips·
Phil Seamark on DAX
Caution When Using Variables in DAX and Power BI
Caution When Using Variables in DAX and Power BI
I have written another blog post about variables previously and explained how useful variables are. Variables in DAX are helpful in both readability and also the performance of your code. However, there are scenarios that you have to be careful when you use variables. Because variables are stored, they might return a result that is…
Power_BI_tips·radacad.com·
Caution When Using Variables in DAX and Power BI
Write conditional statement using switch in dax and power bi
Write conditional statement using switch in dax and power bi
Conditional expressions are one of the most commonly used expressions in any language as well as DAX. However, in DAX, if you have multiple IF THEN expressions, there is an easier way of doing it; using a function called SWITCH, this blog is about how you can use switch function in DAX and Power BI…
Power_BI_tips·radacad.com·
Write conditional statement using switch in dax and power bi
Restrict number of data points in Power BI visuals
Restrict number of data points in Power BI visuals
Sometimes we have data for many years in our dataset, but we want to restrict how many data points we want to show in #powerbi visuals at any given point. In this blog post, I talk about how you ca…
Power_BI_tips·flip.it·
Restrict number of data points in Power BI visuals