This is a fun video in which we try to solve an interesting DAX puzzle while learning how to use TREATAS() DAX function. As a bonus I also show you how to debug variables that house a table inside. For that I do a bit of a tutorial on CANCATINATEX() function.
The data set is very simple, we only have two tables. The Sales table stores Date, Customer, Product and Sales columns to track our sales. The Prices table has a price information for every product. To make things interesting, we do not have a relationship between our two tables.
The puzzle is to figure out what was the highest price that each customer has every paid for the products that he/she has purchased.
Link to blog: businessintelligist.com/2020/07/21/getting-better-at-dax-understanding-treatas-function/
- Getting Better at DAX: Understanding TREATAS() Function ( Download)
- CALCULATE in DAX #10: Using TREATAS ( Download)
- Power BI DAX Tutorial (16/50) - What is TREATAS Function ( Download)
- Avoid relationships using TREATAS DAX function // Beginners Guide to Power BI in 2021 ( Download)
- What is TREATAS DAX function and how to use it in Power BI | DAX Sundays | BI Consulting Pro 4K ( Download)
- TREATAS - DAX Guide ( Download)
- Propagating filters using TREATAS in DAX ( Download)
- DAX Fridays! #66: TREATAS ( Download)
- 11) TREATAS function in #dax ( Download)
- DAX - TREATAS Functions ( Download)
- How To Use The TREATAS Function - Power BI & DAX ( Download)
- DAX | Power BI | Table Manipulation | VALUES and TREATAS Functions ( Download)
- DAX Function TREATAS in Power BI ( Download)
- DAX Tutorial - TREATAS USE CASE ( Download)
- Propogating Filters between unrelated tables using TREATAS DAX Power BI ( Download)