DAX parent-child functions to implement hierarchies

DAX parent-child functions to implement hierarchies

DAX parent-child functions are used to achieve organizational hierarchy. Power BI does not support the parent-child regime or self-join. If you have a data model that contains a parent-child structure, then power bi offers the following useful functions. With the help of these functions, it is easy to implement a hierarchical organizational structure. These functions…

Power BI Isfiltered vs Iscrossfiltered in Dax

Power BI Isfiltered vs Iscrossfiltered in Dax

Power BI Isfiltered and Iscrossfiltered functions are sometimes very confusing for the newbie. These DAX functions are beneficial when we develop very advanced dashboards in Power BI, where we need to check multiple filtering conditions on the columns that are being filtered. We can’t control the user’s behavior and how they will interact with the…

Power BI date table creation manually and dynamically?

Power BI date table creation manually and dynamically?

Power BI date table is essential in almost every data analytics project. With the help of the date table in power bi, we can write complex dax formulas to solve business problems based on date & time. It is crucial, especially in financial reporting & dashboard development. In this post, I will discuss two methods…

TREATAS function to handle missing relationship in the model

TREATAS function in dax is used to establish virtual relationship between two tables in Power BI model. We can use one or more than one columns for filtering the tables. Handling relationships is an essential aspect of any data modeling exercise. If done correctly, it can save a lot of time and effort. Though Power…

Power BI if statement using measure and Calculate

Power BI if statement using measure and Calculate

Power bi “if statement” is straightforward to implement in DAX. It works the same as if-else in SQL. The syntax of if statement in dax is IF(logical_test,value_if_true, value_if_false) The first parameter of if statement in power bi is any expression that can return true or false output.  If the output of the logical_test is true,…