dax

dax

1079 bookmarks
Custom sorting
Segmentation in Power BI
Segmentation in Power BI
I wish I had an awesome intro for this.  I was mostly excited to write this entry… though, the techniques are fairly well known.  I totally have no problem repeating good techniques, because… you are going to forget you read it in some other blog 2 years ago anyway   But as I got into …
·tinylizard.com·
Segmentation in Power BI
DAX Queries, Part 4 – Chris Webb's BI Blog
DAX Queries, Part 4 – Chris Webb's BI Blog
I was extremely pleased to see that there was a Crossjoin() function in DAX, if only because it meant that I wouldn’t have to rename my company. Let’s see how to use it… The Crossjoin() function re…
·blog.crossjoin.co.uk·
DAX Queries, Part 4 – Chris Webb's BI Blog
DAX Queries, Part 2 – Chris Webb's BI Blog
DAX Queries, Part 2 – Chris Webb's BI Blog
Following on from my last post, let’s now see how we can do group-by style in DAX queries. The key to aggregating data is the Summarize() function, which is broadly similar to a Group By in SQL. So…
·blog.crossjoin.co.uk·
DAX Queries, Part 2 – Chris Webb's BI Blog
Computing New Customers in DAX - SQLBI
Computing New Customers in DAX - SQLBI
In this article, Alberto Ferrari describes a new efficient way to compute returning customers in DAX thanks to an idea suggested by a student attending an O
·sqlbi.com·
Computing New Customers in DAX - SQLBI
Simple Filter in DAX Measures – pbidax
Simple Filter in DAX Measures – pbidax
Today’s post is about different ways to set a simple filter in DAX. Although there are plenty of writings covering these patterns, I still see DAX authors get confused on a regular basis. In …
·pbidax.wordpress.com·
Simple Filter in DAX Measures – pbidax
Aliasing Columns in DAX – Chris Webb's BI Blog
Aliasing Columns in DAX – Chris Webb's BI Blog
Creating a copy of a column with a new name is pretty simple in DAX: you can just use the AddColumns() function. For example if we take a model with the DimProductCategory table from Adventure Work…
·blog.crossjoin.co.uk·
Aliasing Columns in DAX – Chris Webb's BI Blog
Solved: Difference between date culumns with an IF like st... - Microsoft Power BI Community
Solved: Difference between date culumns with an IF like st... - Microsoft Power BI Community
Hey guys,   I am using PowerBi in my company to create some dashboards, and I need to incorporate a calculated column in my data set that calculates the following : 1/ The difference in Days between column [StartDate] and [EndDate] 2/ However if the [EndDate] row is empty, it should use (Today) as a...
·community.powerbi.com·
Solved: Difference between date culumns with an IF like st... - Microsoft Power BI Community
Solved: Re: Sum of duration of task with Days, Hours, Minu... - Microsoft Power BI Community
Solved: Re: Sum of duration of task with Days, Hours, Minu... - Microsoft Power BI Community
newDuration = VAR TotalSeconds=SUMX('Sheet2 (2)',HOUR('Sheet2 (2)'[CopyDuration])*3600+MINUTE('Sheet2 (2)'[CopyDuration])*60+SECOND('Sheet2 (2)'[CopyDuration]))VAR Days =TRUNC(TotalSeconds/3600/24)VAR Hors = TRUNC((TotalSeconds-Days*3600*24)/3600)VAR Mins =TRUNC(MOD(TotalSeconds,3600)/60)VAR Secs = MOD(TotalSeconds,60)return IF(DAYS=0,"",IF(DAYS1,DAYS
·community.powerbi.com·
Solved: Re: Sum of duration of task with Days, Hours, Minu... - Microsoft Power BI Community
Advanced DAX - SQLBI
Advanced DAX - SQLBI
This session is a natural continuation of DAX 101 and aims to teach you some of the advanced features of DAX. Alberto will explain in detail the concepts of
·sqlbi.com·
Advanced DAX - SQLBI
Solved: filter problem in a calculate function - power bi ... - Microsoft Power BI Community
Solved: filter problem in a calculate function - power bi ... - Microsoft Power BI Community
Hello !    I don't understand why my measure in Power Bi for Desktop doesn't work : it is a calculate function with a filter function (as I saw here: https://msdn.microsoft.com/fr-fr/library/dn727121.aspx )   As you can see below, I would like to see the sum of amount only if the day corresponds to ...
·community.powerbi.com·
Solved: filter problem in a calculate function - power bi ... - Microsoft Power BI Community
Choosing Numeric Data Types in DAX - SQLBI
Choosing Numeric Data Types in DAX - SQLBI
A data model for DAX has three numeric data types: integer, floating point, and fixed decimal number. This article describes them and explains why the fixed
·sqlbi.com·
Choosing Numeric Data Types in DAX - SQLBI
Grouping by an Aggregation in DAX
Grouping by an Aggregation in DAX
Business users really like the option of comparing category members against the average for all. Let’s review how to accomplish this in DAX. Suppose you what to find out which months had an above a…
·javierguillen.wordpress.com·
Grouping by an Aggregation in DAX
How can I calculate YTD Figures according to the l... - Microsoft Power BI Community
How can I calculate YTD Figures according to the l... - Microsoft Power BI Community
Hello,   I'm having some issues while creating my YTD metrics and thought that some of you could lend me a hand.   My case is the following: My database has information until march of 2016 (but it is constantly fed with new information in a monthly basis).   I need a metric that shows me the year to...
·community.powerbi.com·
How can I calculate YTD Figures according to the l... - Microsoft Power BI Community
DAX as a Language - Microsoft Power BI Community
DAX as a Language - Microsoft Power BI Community
This is a collaborative blog post by  and  resulting from the forum discussion topic “Aggregating Duration/Time”. http://community.powerbi.com/t5/Desktop/Aggregating-Duration-Time/m-p/13350/highlight/true#M3358   Introduction For users coming from an Excel background, it is easy to fall into the t...
·community.powerbi.com·
DAX as a Language - Microsoft Power BI Community
Aggregating Duration/Time - Microsoft Power BI Community
Aggregating Duration/Time - Microsoft Power BI Community
This is a collaborative blog post by  and  resulting from the forum discussion topic “Aggregating Duration/Time”. http://community.powerbi.com/t5/Desktop/Aggregating-Duration-Time/m-p/13350/highlight/true#M3358   Introduction Both Excel and DAX lack support for a true time duration data type makin...
·community.powerbi.com·
Aggregating Duration/Time - Microsoft Power BI Community