related dax function. The SELECTEDVALUE function simplifies the syntax required when you use a numeric column of an entity as a parameter in a calculation. related dax function

 
 The SELECTEDVALUE function simplifies the syntax required when you use a numeric column of an entity as a parameter in a calculationrelated dax function  The syntax of the RELATED function is: RELATED (<column>) where <column> is the name of a column you want to use from a related table

DAX provides support to follow this relationship through functions such as RELATED and RELATEDTABLE. Blank values are not skipped, if data type is Text. This function is deprecated. It can only. Learn more about EARLIER in the following articles: Variables in DAX. Other related. This will create a simple star schema, and the DAX should be easier. Power BI DAX RELATEDTABLE function learn how it works There are multiple functions that can help when you work with tables that are connected through relationships. Here is the starting point for this requirement. Deprecated. Other related topics: Pre dictive Analytics; Power BI Embedded; Power BI Governance; Power BI Training . This article describes how to correctly use column references when manipulating tables assigned to DAX variables, avoiding syntax errors and making the code easier to read and maintain. » Read more. This function can traverse multiple relationships. These are in-depth video lectures of the Standard time-related calculations pattern. Let’s find out one example. The WINDOW function in DAX has opened up a whole new world of possibilities for Power BI users, giving them the power to perform complex calculations and analyses on sets of data in a way that is efficient, uniform, and elegant. To implement the RELATED DAX function effectively, follow these steps: Identify the tables and columns that require a relationship. The. Definition. See Remarks and Related functions for alternatives. Sorted by: 1. Volatile. There are two ways to describe what ALLSELECTED performs and what its use cases are: a simple way and a complex way. Expression1 will add all the sales values, so use the SUM function to summarize the “Sale Value” column. Not recommended. The SUM function is similar to the Excel function of the same name, except. The RELATEDTABLE function changes the context in which the data is filtered, and evaluates the expression in the new context that you specify. Why and when to use RELATED and its companion function RELATEDTABLE: two common DAX functions that are required when using a row context with relationships. At the very. DAX provides an extra edge by extracting key information from the data that is already present in your model. See examples of how to use it in calculated columns, measures, and measures with filters. See moreLearn how to use RELATED and RELATEDTABLE, two common DAX functions that are required when using a row context with relationships. Deprecated. OrderYear = RELATED ( 'Date' [Year] ) Copy Conventions # 2. Volatile. Measures and calculated columns both use DAX expressions. DAX includes the following categories of functions: Date and Time, Time Intelligence, Information, Logical, Mathematical, Statistical, Text, Parent/Child, and Other functions. We have a 1:* relationship between 2 tables. You can create a measure as below using related function: Sales [Sales at List Price] = SUMX ( Sales, Sales [Quantity] * RELATED ( 'Product' [List Price] ) )Or try to use the LOOKUPVALUE function to retrieve the lookup value . Other related functions are: CONCATENATEXUnderstanding the difference between LASTDATE and MAX in DAX. I am getting the. How can I return this with a Dax function? I know I need to use LOOKUPVALUE and/or the RELATED function, in combination with SUM, but I'm not sure how. A volatile function may return a different result every time you call it, even if you provide the same arguments. The critical difference between them is that RELATED works on the “many-side “ of the relationship, and RELATEDTABLE works on the “one-side” of the relationship. A Many-to-many relationship will always be limited, as is a One-to-many relationship. Learn how to use the RELATED function to return a related value from another table in a calculated column expression or a table scanning function. These functions help you create calculations based on dates and time. There is always a filter context for DAX expressions. Step-2: If condition has true, Switch will return the result in form of “Low”, “Medium” & “High”. Just set the appropriate relationship between Table A and Table B and create a new column with the. Other commonly used DAX functions include SUM, AVERAGE, MIN, MAX, and many more. Data Analysis Expressions (DAX) is a formula expression language used in Analysis Services, Power BI, and Power Pivot in Excel. Aug 30, 2022. g. Date & Time Dax functions description as below : Returns a table with a single column named “Date” that contains a contiguous set of dates. The next step is to try to filter two columns from two different tables: Brand = “Contoso” in the Product table. ADDCOLUMNS. Not recommended. Learn more about MAXX in the following articles: Highlighting the minimum and maximum values in a Power BI matrix. To stay up-to-date, it is essential to monitor the latest developments and enhancements in DAX functions and related tools. Any DAX expression that returns a single scalar value, that is to be sought in columnName. So, I don't think it is used correctly here. Understanding data lineage in DAXBy using SQL Server Management Studio (SSMS), Power BI Report Builder, and open-source tools like DAX Studio, you can create and run your own DAX queries. The COUNT function counts rows that contain the following kinds of values: Numbers. This article shows how to use the USERELATIONSHIP function in DAX to change the active relationship in a CALCULATE function. I am talking about RELATED and LOOKUPVALUE. Calculated tables are best. This tutorial will act as a step-by-step guide to using DAX. To apply the RELATED DAX function in Power BI for break-even analysis, follow these step-by-step instructions:1. Implementing Scenario Analysis with RELATED DAX function in Power BI. Using RELATED function in DAX with USERELATIONSHIP. This function is deprecated. Learn how to use RELATED and RELATEDTABLE, two common DAX functions that are required when using a row context with relationships. Other related functions are: BLANK; ISEMPTY1 Answer. However, DAX date and time functions are based on the DAX datetime data type. The following COUNT. The RELATED DAX function is an essential tool for creating dynamic and interactive reports in Power BI. Somewhat obviously, fees, taxes, insurance, reserve payments, and other costs associated with loans are computed and. Deprecated. It will look up the related value in another table and return the result. It is a scalar function, meaning it returns only one single value, and it gets one single input parameter. Jump to the Alternatives section to see the function to use. A volatile function may return a different result every time you call it, even if you provide the same arguments. If you’re familiar with functions in Excel formulas, many of the functions in DAX will appear similar to you; however, DAX functions are unique in the following ways:The Power BI RELATED function is a Relationship function under DAX (Data Analysis Expressions) function used to retrieve a single value from a related table based on a defined relationship. Copy Conventions # 1. This function is deprecated. Let’s get started. Functions like FILTER, ALL, and RELATED are integral components of the DAX toolkit. Application of DAX functions in retrieving month names from the date column in Power BI. Jump to the Alternatives section to see the function to use. Most DAX functions require one or more arguments, which can include tables, columns, expressions, and values. See Remarks and Related functions for alternatives. It is a key function for performing advanced calculations and analysis in Power BI. Figure 1: Syntax of DAX expression 2. Types of Power BI DAX functions. But before you begin, make sure to optimize your measures. The following COUNT. The DIVIDE function in DAX is usually faster to avoid division-by-zero errors than the simple division operator. . Volatile. It attempts to reuse the data that has been grouped making it highly. We have several types of Text Functions in DAX, below is the table. In this case, the DAX expression looks like this: DAX. This article showcases the use of CONCATENATEX, a handy DAX function to return a list of values in a measure. B. The RELATED DAX function is an essential feature in Power BI that allows users to establish relationships between tables. The RELATED function is a powerful feature of DAX that allows users to retrieve data from related tables based on established relationships. With this function, you can specify the start and end dates of your calendar, as well as the intervals (e. RELATED: Returns a related value from another table. This can save a lot of time when writing DAX formulas. Filter functions - These functions help you return specific data types, look up values in related tables, and filter by related values. DAX Functions Filter - You can use DAX Filter functions to return specific data types, look up values in related tables and filter by related values. PowerBI has a feature called DAX functions that are used to perform various expressions by solving various equations and return values based on arguments and functional aspects. Power BI provides straightforward solutions for tasks related to Data Analytics and Visualization. Because of the similarities between Tabular data modeling and relational data. Welcome back to the Power Pivot Principles blog. Power BI DAX Functions. Example This formula computes the increase or decrease ratio in sales compared to the previous year. Date and time functions. You can use the DATE function in conjunction with other functions to convert the dates to a number that can be recognized as a date. Volatile. To learn more about best practices when using SELECTEDVALUE, see Use SELECTEDVALUE instead of VALUES in DAX. DAX includes a library of over 200 functions, operators, and constructs, providing immense flexibility in creating formulas to calculate results for just about any data analysis need. See Remarks and Related functions for alternatives. Deprecated. The workaround would be a calculated column in your target table (FactSalesOrderTable): Exchange Rate = CALCULATEAny filter applied to pivot tables in Excel or to any user interface element of Power BI Desktop or Power View always affects the filter context — it never affects the row context directly. DAX queries return results as a table right within the tool, allowing you to quickly create and test the performance of your DAX formulas. The use of this parameter is not recommended. Does not support Logical values (TRUE/FALSE values). The RELATED DAX function in Power BI presents an incredible opportunity for organizations to unlock the true potential of their balance sheet analysis. A volatile function may return a different result every time you call it, even if you provide the same arguments. Data Analysis Expressions (DAX) are the collection of formulas, functions, operators, and constants that allows a user to create measures, dimensions, and custom tables. RELATEDTABLE: Returns the related tables filtered so that it only includes t Related articles. DAX Cheat Sheet. Understand the nature of the relationship between the tables. Each function has its own syntax and arguments that define the calculation or manipulation to be performed. Type SalesSum and type SUM formula on the right side of the equal sign. Sample Table = SAMPLE ( 100, Orders, Orders [Order Date], ASC) As you can see the below given screen shot, new table is created with specific number of rows & order. Date and time functions. In the dialog that opens, select the field from the first window that your tables are related on in the data model, then select your second table in the second window (the one that your RELATED function directs to),. Much like the CALCULATE function described earlier, the RELATED function is very important, and you will likely use it many times. Now write below DAX to fetch N number of rows sample data from the specified table. To do this I've created a relationship between two tables, the first being called SAP Basis of Comparison and the second table is called Supplier Statement. » 6 related articles. Step 2: To check, use Card visualization and drag SalesSum on the canvas. UPDATE 2023-03-17 : Fixed an incorrect description before example #11. This function is deprecated. If two tables are linked by more than one relationship, you can decide which relationship to activate by using USERELATIONSHIP. We really only touched on the basics of functions. Similarly, if we are at one side (DimTable), there will be multiple records in the fact table table corresponding to one of the rows of DimTable, and we use the RELATEDTABLE () function to get the corresponding record in the fact table (a table). Thanks to context transition, using a measure in the filter expression it is possible to filter a table based on a dynamic calculation involving other rows and/or tables. COUNT and COUNTA are identical in DAX for all the data types except Boolean. Returns the largest value in a column. A measure is a formula that is created specifically for use in a PivotTable (or PivotChart) that uses Power Pivot data. This is an in-depth video lecture of the Related distinct count pattern. When the function finds no rows that are non-blank, it returns a blank. 2. This pattern shows how to compute time-related calculations, like year-to-date, same period last year, and percentage growth using a standard calendar and relying on standard built-in time intelligence DAX functions. RELATED Vs LOOKUPVALUE DAX in Power BI. COALESCE is a DAX function introduced in March 2020. Note. Power BI Model relationships in Power BI Desktop Article 10/27/2023 11 contributors Feedback In this article Relationship purpose Relationship properties. -- argument that defaults to a blank. Much like the CALCULATE function described earlier, the RELATED function is very important, and you will likely use it many times. This article explains why in many cases, MAX should be used instead of LASTDATE to search for the last date in a time period using DAX. A common use of this function is to set the first parameter to TRUE. The syntax of the RELATED function is: RELATED (<column>) where <column> is the name of a column you want to use from a related table. SUBSTITUE function is a Power BI DAX TEXT function that allows to replace existing text with new text in a text string. =SUMX ( ProductSales, ProductSales [Sales] * CALCULATE ( VALUES ( MarketValue. If function DAX. 2. Consider the RELATED function. The following example uses the RELATEDTABLE function to create a calculated column with the Internet Sales in the Product Category table: DAX. g. The RELATED function is a powerful feature of DAX that allows users to retrieve data from related tables based on established relationships. Add the current date for the live data. See Remarks and Related functions for alternatives. It is used to establish a relationship between tables based on a common column, and then retrieve related data from one table to another. I am new to power BI and have been working on this for a month now. Therefore, the IN operator is usually better. If a relationship does not exist, you must create a relationship. Define the scenarios: Clearly define the scenarios you want to analyze and the specific variables or factors that will change in each scenario. . The field of data analysis and DAX functions is constantly evolving. Related functions. In DAX, generally Row Context doesn't work with the relationships. DAX provides the RELATED and RELATEDTABLE which can be executed in MS Power BI, MS Power Pivot, SSAS to retrieve related data from another table. Step-2 : Create another measure to implement a nested IF condition. RELATED(<column>) CALCULATE Function: This Function makes simple calculations of multiple variables easy. Data Analysis Expressions (DAX) Reference. This function gives you the subtable from the other table for all the rows related to the current row. • Because there is a relationship, the only input needed is the reference to the column in the dimension table that. This DAX function returns a related value from another table when it's used as a lookup function. Here you will learn different DAX functions, their uses and how to utilize them. See Remarks and Related functions for alternatives. In Power BI Desktop model view, it's not always possible to determine whether a model relationship is regular or limited. You can use something like this. If there isn't a match that satisfies all the search values, BLANK or alternateResult (if specified) is returned. It takes one argument: the name of the column in the related table to retrieve the value from. A volatile function may return a different result every time you call it, even if you provide the same arguments. When the function finds no rows that are non-blank, it returns a blank. As your DAX skills improve, you will create formulas using many different functions. In this article, we will explore the benefits of using the RELATED function, provide a step-by-step guide to implementing it in Power BI, and showcase real-world examples of its effectiveness. Use the RELATED DAX function to establish connections between the tables. DAX Date and Time functions are similar to the Excel date and time functions. USERELATIONSHIP uses existing relationships in the model, identifying relationships by their ending point columns. You would have to create a relationship between Table1 and Table2 based on Product and hopefully it is a one to one mapping. GROUP BY permits DAX CURRENTGROUP function to be used inside aggregation functions in the extension columns that it adds. Name: The name given to the column, enclosed in double quotes. This article showcases the use of CONCATENATEX, a handy DAX function to return a list of values in a measure. Hi @edithees , It seems you are adding a custom column in Power Query Editor, but the RELATED function is used for DAX. The two solutions share a common goal: providing to the join function in DAX two tables that have one or more columns with the same data lineage. RELATED DAX Function. DAX CALENDAR function. name. Here's a step-by-step guide: Identify the scenario where you need to use the ALL function to ignore filters. Time Intelligence. RELATED: Returns a related value from another table. See Remarks and Related functions for alternatives. ”. This function does not return a value. In this case, because the process is starting, it is the first row in the table. SUMX function returns the sum of an expression evaluated for each row in a table. The Related Function is a DAX function in Power BI that allows you to retrieve related values from a related table in the Data Model. Power BI is one of the most robust and powerful business intelligence tools out there. Other related functions are: MAX; MAXA The syntax for DATEDIFF DAX function is: = DATEDIFF (Start Date, End Date, Interval) Start Date: The date you want to count the difference from. However, if you are sure that the tables already have a relationship and the provided column name is correct but the RELATED function still is not working as expected and the IntelliSense doesn't list any suggested columns, so you maybe encounter this behavior due to one. See the example below for a thorough explanation. The COUNT function counts rows that contain the following kinds of values: When the function finds no rows to count, it returns a blank. Returns the largest value in a column. . It operates on a column and returns a single scalar value as the sum of all the values in that column. DAX RELATEDTETABLE function changes the context in which the data is filtered, and evaluates the expression in the new context that you specify. A filter predicate with a simple AND condition between two columns works faster if replaced by two filter arguments, one for each column. RELATED. Other related. . C. So, if they are similar, which one should be used in which situation? Why to use RELATEDIn other words, the expression returns the sum of freight charges for only the specified sales area. By leveraging the RELATED DAX function, organizations can gain deeper insights into their cost structures, identify cost-saving opportunities, and make data-driven decisions to optimize their operations and profitability. Step-3: Now write below Dax. We are done. This. ALLSELECTED_DAX = CALCULATE ( Sum (Orders [Sales]), ALLSELECTED (Orders [Product Sub-Category])) According to the ALLSELECTED definition, by default, it. Jump to the Alternatives section to see the function to use. Download Sample Power BI File. The historical DAX function that aggregates and group data leveraging existing relationships is SUMMARIZE. Let’s get started-. But it doesn't let me do the opposite ( creating a new column on table Y with getting the column table X). This function is particularly useful when working with complex data models that involve multiple tables and relationships. Using a numeric column in a calculation. Many of the functions in DAX are similar to the Excel date. When DAX RELATED function performs a lookup, it examines all values in the specified table regardless of any filters that may have been applied. In this blog, we learn the 4 relationship functions of DAX with practical examples. Related functions. This is so much process to achieve something really simple. As you can see, functions in DAX can help you create very powerful formulas. Click on data tab > and make relationship based on Product column in both tables. » Read more. Data Analysis Expressions (DAX) is a library of functions and operators that can be combined to build formulas and expressions in Power BI, Analysis Services, and Power Pivot in Excel data models. Now, apply the SUMX function in Power BI. Financial functions in DAX are used in formulas that perform financial calculations, such as net present value and rate of return. A measure is used in the Values area of a PivotTable. DAX – GROUPBY Function. DAX Cheat Sheet. RELATED works only for side 1 of the relationship, for side many you need to use RELATEDTABLE. The use of this parameter is not recommended. Add the Weekly_Returns data to the Sales table by using RELATED DAX functions. RELATED ( <ColumnName> ) ADDCOLUMNS. We are done. It supplies comprehensive information related to the syntax, parameters, data types, and returns values for the 250+ functions stored in the DAX library. When a column name is given, returns a single-column table of unique values. This is so much process to achieve something really simple. Learn how to use relationship functions in Data Analysis Expressions (DAX) to manage and Utilize relationships between tables. In our example, a calculated column that computes the year of the order would be as simple as this: 1. Function Description; ACCRINT: Returns the accrued interest for a security that pays periodic interest. It allows users to define custom calculations based on specified conditions. Measures can be based on standard aggregation functions, such as COUNT or SUM, or you can define your own formula by using DAX. Is it possible to use the RELATED() DAX function with a Measure in Power BI? As per the official Microsoft documentation, the RELATED function needs a row context; therefore, it can only be used in calculated column expression, where the current row context is unambiguous, or as a nested function in an expression that uses a table scanning function. Volatile. From SQL to DAX: String Comparison. This function enables you to access information from tables that are connected through relationships, providing a seamless way to analyze and understand the differences between actual and expected values. While using this DAX function it is important to understand the following items: For this function to work it is important to ensure that there is a relationship created between the current table and the table with the related information you are. The use of this parameter is not recommended. For specific scenario, it works. A volatile function may return a different result every time you call it, even if you provide the same arguments. = SUMX(FILTER(InternetSales, InternetSales [SalesTerritoryID]=5), [Freight]) If you do not need to filter the column, use the SUM function. In my next blog, we will learn more about DAX. Measures can be based on standard aggregation functions, such as COUNT or SUM, or you can define your own formula by using DAX. COUNT and COUNTA are identical in DAX for all the data types except Boolean. This function is particularly useful when working with complex data models that involve multiple tables and relationships. Such column(s) will be used to join the two tables and produce the result. Zadáte sloupec, který obsahuje požadovaná data, a funkce následuje existující relaci M:1, která načte hodnotu ze zadaného sloupce v související tabulce. DAX includes the following categories of functions: Date and Time, Time Intelligence, Information, Logical, Mathematical, Statistical, Text, Parent/Child, and Other functions. The RELATEDTABLE DAX function is used to retrieve a table that is related to the current row according to the defined relationships in the data model. The name given to a total or summarize column, enclosed in double quotes. DAX Patterns: Standard time-related calculations. EARLIER ( [ TotalSubcategorySales ]) evaluates to $156,167. Step-1: Relationship should be important for this, let’s create a relationship between both tables. Deprecated. A measure is a formula that is created specifically for use in a PivotTable (or PivotChart) that uses Power Pivot data. In Level 17: Time Intelligence Functions: The DAX DATEADD() Function, you were introduced to the DAX Time Intelligence functions, beginning with the DATEADD() function. Now, come back to the “Report” tab. DAX includes the following categories of functions: Date and Time, Information, Logical, Mathematical, Statistical, Text, and Time Intelligence Functions. Interval: How you want the difference to be expressed. The value of result_columnName at the row where all pairs of search_columnName and search_value have an exact match. The difference is the context of evaluation. The syntax of the RELATED function is: RELATED (<column>) where <column> is the name of a column you want to use from a related table. When you evaluate a DAX expression, a blank value is always converted to 0 or to an empty string, depending on the data type requested by the expression, unless it is evaluated in any term of a multiplication, in which case the blank value propagates in the multiplication result. Not recommended. RELATED DAX Function in Power BI Demo: Using Adventure Works Data Warehouse Tables. It evaluates an expression over a table and counts the number of rows that contain a number or an expression that evaluates to a number. e. » 2 related articles. DAX Queries can be used to create dynamic reports in Power BI. SubRegion = RELATED ( 'Account'[SubRegion] ) RegardsBusiness Intelligence Architect, Analysis Services Maestro, and author Bill Pearson introduces three DAX Time Intelligence functions related to the Start of Periods: STARTOFMONTH(), STARTOFQUARTER. Volatile. Related articles. The filtering functions let you manipulate data context to create dynamic calculations. Many of the functions in DAX are similar to the Excel date and time functions. Deprecated. Jump to the Alternatives section to see the function to use. The functions include. I assume history date is the extract date, so you would end up with potentially 2 date columns. Adds calculated columns to the given table or table expression. You can obtain a blank value in DAX calling the BLANK function. The use of this parameter is not recommended. DAX Measures และ Calculated Columns. Volatile. RELATED Function in DAX does not shows me related tables. , one-to-one, one-to-many). groupBy_ColumnName. Leveraging the full potential of the RELATED function allows you to navigate and analyze data from multiple perspectives effortlessly. The first argument is the “Result Column Name” since we are looking for the discount percentage from “Discount_Table,” choose the “Discount %” column name from “Discount_Table. Product Category AlternateKey. Create relationships between the tables using the Power BI relationship view. Measures. Power BI support more then 200 types of DAX functions like- Date & Time functions, Filter functions, Text functions. = SUMX( RELATEDTABLE('InternetSales_USD') , [SalesAmount_USD]) The following table shows the results: Product Category Key. However, in that case the many-to-many. (Optional) The name of an existing column to be used to identify current row in the window function’s <relation>. Both can be used to assign values from other table - similarly to VLOOKUP in Excel. Related articles. After the equals sign, type r. Relationship Functions: Using these DAX functions, you can return values from another related table, specify a particular relationship to use in an expression, and specify cross-filtering direction. Creating Time-Intelligence Functions in DAX; DAX is Microsoft’s new(ish) language which allows you to return results from data stored using the xVelocity database engine, which, unlike for most databases, stores data in columns rather than rows. » Read more. RELATED and LOOKUPVALUE are DAX functions that used in a calculated column when you need to reference columns from another table to the current table. RELATED. Deprecated. Using the common field you can join both tables using FILTER function. The DAX FILTER function allows you. This function is deprecated. To retrieve month names from a date column, the primary DAX function you would use is FORMAT, as previously mentioned. The SELECTCOLUMNS function is a Data Analysis Expressions (DAX) function that allows you to create a new table by selecting specific columns from an existing table or by defining new columns. I get the same all the time as well. Try modifying your DAX as follows: Working Hours = IF (. Data Analysis Expressions (DAX) are the collection of formulas, functions, operators, and constants that allows a user to create measures, dimensions, and custom tables. Returns the specified date in datetime format. The use of this parameter is not recommended. How to Use RELATED DAX function in Power BI for Financial Modeling Understanding the basics of DAX functions in Power BI. One table is an Item ID with the name of a. When used in variance analysis, the CALCULATE function proves to be invaluable in comparing actual and budgeted data,. I am trying to pull in a field from another table in my BISM model using the "RELATED" function. For example, the following measure calculates the quantity by dividing the existing Sales Amount measure by the Unit Price value of the selected product. Return value. I have looked at many posts related to this issue but have not been able to find a solution. Jump to the Alternatives section to see the function to use. Step 2: Create a relationship between the two tables. FILTER can filter rows from a table by using any expression valid in the row context. Statistical Functions: They are associated with statistical distributions and probability, such as standard deviation and number of permutations. Learn how to use relationship functions in Data Analysis Expressions (DAX) to manage and Utilize relationships between tables. DAX Patterns: Standard time-related calculations. I'm trying to write a simple dax function to multiply the noofunits from the pallet_detail table by the quantity in the bill_of_material_packaging_item table, but when I write the function, it doesn't find this as related? Packaging Units = sumx (bi_Pallet_DetailV,bi_Pallet_DetailV. DAX formula allows the use of more than one case. The RELATED DAX function in Power BI is a powerful tool that allows users to establish relationships between tables and retrieve data based on those relationships. By leveraging. Not recommended. See Remarks and Related functions for alternatives. Status = RELATED (STATUS_TYPE [STATUS_TYPE_NAME]) The above query will add a new column and updates the values with the relative values from the other table. It returns a table that contains all the dates from the start of the current year to the latest available. RELATED. The RELATED DAX function in Power BI is specifically designed to facilitate the discovery and analysis of relationships between data tables.