Power BI

Power BI

9059 bookmarks
Custom sorting
Solved: Re: DAX Question: Running Totals with Missing Valu... - Microsoft Power BI Community
Solved: Re: DAX Question: Running Totals with Missing Valu... - Microsoft Power BI Community
Yeah actually my bad on the ALLSELECTED function, the behaviour is quite different from what I thought it was. Cool you found a soltion.   For the other one, can you change "MAX(DegreeConferred[TERM_END_D​ATE]))" to the equivalent field in your term table? That way it should have a value even when t...
Power_BI_tips·community.powerbi.com·
Solved: Re: DAX Question: Running Totals with Missing Valu... - Microsoft Power BI Community
Solved: Re: Old customers vs New customers. how to check t... - Microsoft Power BI Community
Solved: Re: Old customers vs New customers. how to check t... - Microsoft Power BI Community
Sales_OldCustomer = CALCULATE ( SUM ( Sales[Amount in USD] ), FILTER ( Sales, YEAR ( Sales[Date] ) RELATED ( Customer[Created Year] ) ))Sales_NewCustomer = CALCULATE ( SUM ( Sales[Amount in USD] ), FILTER ( Sales, YEAR ( Sales[Date] ) = RELATED ( Customer[Created Year] ) ))
Power_BI_tips·community.powerbi.com·
Solved: Re: Old customers vs New customers. how to check t... - Microsoft Power BI Community
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 …
Power_BI_tips·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…
Power_BI_tips·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…
Power_BI_tips·blog.crossjoin.co.uk·
DAX Queries, Part 2 – Chris Webb's BI Blog
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 …
Power_BI_tips·pbidax.wordpress.com·
Simple Filter in DAX Measures – pbidax
SQLBI - Marco Russo : LASTDATE vs. MAX? CALCULATETABLE vs. FILTER? It depends! #dax #powerpivot #tabular
SQLBI - Marco Russo : LASTDATE vs. MAX? CALCULATETABLE vs. FILTER? It depends! #dax #powerpivot #tabular
A few days ago I published the article FILTER vs CALCULATETABLE: optimization using cardinality estimation , where I try to explain why the sentence “CALCULATETABLE is better than FILTER” is not always true. In reality, CALCULATETABLE internally might
Power_BI_tips·sqlblog.com·
SQLBI - Marco Russo : LASTDATE vs. MAX? CALCULATETABLE vs. FILTER? It depends! #dax #powerpivot #tabular
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…
Power_BI_tips·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...
Power_BI_tips·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
Power_BI_tips·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
Power_BI_tips·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 ...
Power_BI_tips·community.powerbi.com·
Solved: filter problem in a calculate function - power bi ... - Microsoft Power BI Community