Posts filed under DAX

Improving the Time Intelligence Slicer & Avoiding Circular Dependencies

Video by: Reid Havens

I've improved my time intelligence slicer based on some feedback about a DAX error related to blank dates being evaluated. In this video we'll see how to avoid that plus also prevent any circular dependency errors as well!

RELATED CONTENT πŸ”—

Part 1: Creating MTD/QTD/YTD Filters
Part 2: Applying USERELATIONSHIP Function
Part 3: Additional Date Periods
Part 4: Fiscal Periods

Posted on September 21, 2021 and filed under DAX, Power BI, Intermediate, Slicers & Filters.

Calculating the Top Name & Value Using [DAX] in Power BI

Video by: Reid Havens

Learn how to leverage a long standing DAX pattern to calculate the top performing name/category and it's corresponding value using DAX measures in Power BI. Plus also see how to optimize the code using DAX Studio.

RELATED CONTENT πŸ”—

DAX Function (TOPN)
DAX Function (FIRSTNONBLANK)
Optimizing DAX Video Course

(Livestream Replay) Semantics of DAX Queries & Caveats to Composite Models - with Jeffrey Wang

The popularity of Power BI has increased dramatically in the past few years. I am seeing an increasing number of enterprise customers who built complex composite models combining import tables with DirectQuery tables. Many users have asked questions on how DAX queries and measures are translated into remote SQL/MDX/DAX queries. To the surprise of a lot of people who have a SQL background, the semantics of DAX queries is very different from that of SQL queries even though both are used to produce the right data for the same visualizations. I am going to explain why the semantics of DAX queries poses unique challenges to DAX engine and how the latter employs myriads of optimizations to deliver good query performance in common scenarios. I am also going to explain how the semantics of DAX queries complicates query generations for composite models, demonstrate some of the issues most frequently encountered by the composite model users, and describe design principles to avoid the pitfalls.

GUEST BIO πŸ“„

Jeffrey joined Microsoft SQL Server Analysis Services team in 2004 and contributed to the revolutionary transformation of Microsoft BI from multi-dimensional model and MDX language to tabular model and DAX language. He was one of the inventors of the DAX programming language in 2009 and have been driving the evolution of the DAX language ever since. Currently he is an engineering manager focusing on the development of DAX engine, query optimizer, DirectQuery, composite models, etc. Right now his team is putting the finishing touches on the GA of DirectQuery to PowerBI datasets.

RELATED CONTENT πŸ”—

Website
Blog
Power Query's Twitter
Miguel's Twitter

Integrating Time Intelligence Filters with Drillthrough in Power BI

Video by: Reid Havens

Learn how to combine a Time Intelligence table with a matrix visual to propagate date filters through a Drillthrough action in Power BI.

RELATED CONTENT πŸ”—

Part 1: Creating MTD/QTD/YTD Filters
Part 2: Applying USERELATIONSHIP Function
Part 3: Additional Date Periods
Part 4: Fiscal Periods