DAX

DAX

1155 bookmarks
Custom sorting
From SQL to DAX: Joining Tables - SQLBI
From SQL to DAX: Joining Tables - SQLBI
In SQL there are different types of JOIN, available for different purposes. This article shows the equivalent syntaxes supported in DAX and it was updated i
·sqlbi.com·
From SQL to DAX: Joining Tables - SQLBI
DAX Learning Curve
DAX Learning Curve
Published on May 13, 2018: In this video, we will learn about 1. The background of people who learn DAX and why they encounter difficulty 2. What concept tak...
·youtube.com·
DAX Learning Curve
How to write your SQL query in DAX?
How to write your SQL query in DAX?
Obviously T-SQL and DAX are two different query languages and it serves entirely different purposes.However, as a person who came from database development background , when I learn DAX initially, …
·asankap.wordpress.com·
How to write your SQL query in DAX?
Possibly, Maybe, a Lookup or something? Check out what I'm trying to do...
Possibly, Maybe, a Lookup or something? Check out what I'm trying to do...
Hey guys!! You might have seen my previous post about adding working days. This is still part of the same problem, however, I've established a method that I need help writing the correct code for. Assuming my date table looks like this: (May 9th is a holiday for example purposes) Date Wo...
·community.powerbi.com·
Possibly, Maybe, a Lookup or something? Check out what I'm trying to do...
Re: Weigthed Average per Catecogy and Subcategory
Re: Weigthed Average per Catecogy and Subcategory
Hi , You can add a new column: Count Per Id_Page into category = var c1=CALCULATE(COUNT(Table2[IdPage]),FILTER('Table2','Table2'[IdPage]=EARLIER(Table2[IdPage]))) return IF('Table2'[Index]=CALCULATE(MAX('Table2'[Index]),FILTER('Table2','Table2'[IdPage]=EARLIER('Table2'[IdPage])&& Table2[IdCatego...
·community.powerbi.com·
Re: Weigthed Average per Catecogy and Subcategory
DAX Measure Dependencies in SSAS Tabular and Power BI
DAX Measure Dependencies in SSAS Tabular and Power BI
In this post you learn how to leverage DMVs to get SSAS Tabular and Power BI Model object dependencies. It is easy to find DAX Measures dependencies, calculated column dependencies and much more. I made a tool in Power BI which is available for you to download for free.
·biinsight.com·
DAX Measure Dependencies in SSAS Tabular and Power BI
Matrix Measure Total Triple Threat Rock & Roll
Matrix Measure Total Triple Threat Rock & Roll
While it would be a bit presumptuous to presume that any single formula could account for all possible measure total situations, the following pattern is presented for handling matrix measure values as well as subtotals and grand totals. This pattern has the added flexibility of being able to handle...
·community.powerbi.com·
Matrix Measure Total Triple Threat Rock & Roll
Reactivated Players DAX Pattern
Reactivated Players DAX Pattern
I had a requirement where my customer was looking to gain some insights into their data relating to reactivated players. The definition used for a reactivated player is a player that has previously…
·fourmoo.com·
Reactivated Players DAX Pattern
DAX – Concatenating Values only when values are selected
DAX – Concatenating Values only when values are selected
What I am doing with the DAX below is to only show the concatenation of values if a value is filtered. If nothing is filtered (Selected) then display text to show that nothing has been selected, ot…
·fourmoo.com·
DAX – Concatenating Values only when values are selected
Challenge - Top x with Ties - The Ken Puls (Excelguru) Blog
Challenge - Top x with Ties - The Ken Puls (Excelguru) Blog
Yesterday I was working on a data set, and needed to work out the Top x with Ties in Power Query. This posed to be a bit more challenging than I first thought it would be. Why did I want … Continue reading →
·excelguru.ca·
Challenge - Top x with Ties - The Ken Puls (Excelguru) Blog
Fun with Graphing in Power BI - Part 5-by-5
Fun with Graphing in Power BI - Part 5-by-5
Introduction This is the latest post in my series "Fun with Graphing in Power BI". It might be my last as well. There are a few different reasons for that. First, and most importantly, I believe I may…
·community.powerbi.com·
Fun with Graphing in Power BI - Part 5-by-5
Calculating Employee Attrition Rate with DAX – Part 1
Calculating Employee Attrition Rate with DAX – Part 1
In this tip we show how you can calculate employee attrition rates. You can apply these methods in Power BI Desktop, Analysis Services Tabular or Azure Analysis Services.
·mssqltips.com·
Calculating Employee Attrition Rate with DAX – Part 1
Re: Last Year to date measure not when I selecting filter.
Re: Last Year to date measure not when I selecting filter.
Hi , This is what I was talking about : https://drive.google.com/file/d/1NK1xeEJT8tE1KmBEPXY2l8GeAsxWTVHG/view?usp=sharing Hope it helps... Ninter
·community.powerbi.com·
Re: Last Year to date measure not when I selecting filter.
Re: How to show records which has 0 value in a field?
Re: How to show records which has 0 value in a field?
, Please check if the following DAX returns your expected result. If not, please share sample data of your table and post your desired result. Measure = COUNTROWS(FILTER(ZeroTFSlLevel,ZeroTFSLevel[PlaceOrPte]="Pte"&&ZeroTFSlLevel[Enrol_count] = 0)) Regards, Lydia
·community.powerbi.com·
Re: How to show records which has 0 value in a field?
Using OR conditions between slicers in DAX - SQLBI
Using OR conditions between slicers in DAX - SQLBI
This article describes how to implement in DAX a logical OR condition between the selection of two slicers of a Power BI report or of a PivotTable in Excel.
·sqlbi.com·
Using OR conditions between slicers in DAX - SQLBI
DAX Optimization Examples – SQLBits 2018 - SQLBI
DAX Optimization Examples – SQLBits 2018 - SQLBI
How do you optimize a DAX expression? In this session, Alberto Ferrari analyzes some DAX expressions and Tabular models and, through the usage of DAX Studio
·sqlbi.com·
DAX Optimization Examples – SQLBits 2018 - SQLBI
DAX Best Practices – SQLBits 2018 - SQLBI
DAX Best Practices – SQLBits 2018 - SQLBI
As with any other language, you can write good DAX but you can also write bad DAX. Good DAX works fine, it is fast and reliable and can be updated easily. B
·sqlbi.com·
DAX Best Practices – SQLBits 2018 - SQLBI
First/Last Working Days
First/Last Working Days
Builds off of First Working Day of Week here: https://community.powerbi.com/t5/Quick-Measures-Gallery/First-Working-Day-of-Week/m-p/391332 Provides the same functionality for First/Last Working Day of the Week, Month, Quarter and Year as well as logical true/false tests for these. Included below a...
·community.powerbi.com·
First/Last Working Days
Distinct Column Combinations
Distinct Column Combinations
Suppose you have some data like this: ID DimKey3 DimKey4 DimKey5 DimKey6 1 blue red green green 2 blue blue red blue 3 blue red blue blue 4 green green red green 5 green green blue green 6 red red red red 7 blue blue blue blue 8 green green green green 9 blu...
·community.powerbi.com·
Distinct Column Combinations
Rolling Weeks
Rolling Weeks
Similar to Rolling Months, https://community.powerbi.com/t5/Quick-Measures-Gallery/Rolling-Months/m-p/391499 it is often handy to have the ability to do rolling weeks. For this to work, previous Quick Measures of Week Starting and Week Ending are required. https://community.powerbi.com/t5/Quick-...
·community.powerbi.com·
Rolling Weeks