Complete the DAX formula to get the related product name from the Products table.
ProductName = RELATED([1][ProductName])The RELATED function fetches a value from a related table. Here, Products is the related table containing the ProductName column.
Complete the DAX formula to get the related customer city from the Customers table.
CustomerCity = RELATED([1][City])The RELATED function retrieves the City from the Customers table, which is related to the current table.
Fix the error in the DAX formula to correctly get the related category name.
CategoryName = RELATED([1][CategoryName])The correct related table is Categories. Using 'Category' or other names causes errors because the table name must match exactly.
Fill both blanks to create a measure that sums sales amount using RELATED to get the product price.
TotalSales = SUMX(Sales, Sales[Quantity] * RELATED([1][[2]]))
The measure multiplies Quantity by the related Price from the Products table to calculate total sales.
Fill all three blanks to create a calculated column that shows the customer country from the related Customers table and the order year.
CustomerCountryYear = RELATED([1][[2]]) & " - " & YEAR([3][OrderDate])
This formula gets the Country from the related Customers table and combines it with the year extracted from the OrderDate in the Orders table.