Complete the code to create a relationship between two tables in Tableau.
CREATE RELATIONSHIP BETWEEN [1] AND Customers ON CustomerIDIn Tableau, to relate data tables, you often create relationships between the Orders and Customers tables using the CustomerID field.
Complete the code to define a star schema in Tableau data model.
FactTable [1] DimensionTable ON KeyFieldTableau uses relationships (RELATE) to define star schemas, connecting fact tables to dimension tables on key fields.
Fix the error in the Tableau data model expression to avoid data duplication.
SELECT * FROM Sales [1] Customers ON Sales.CustomerID = Customers.CustomerIDUsing RELATIONSHIP instead of JOIN in Tableau avoids data duplication by keeping tables logically connected without merging rows.
Fill in the blank to create a calculated field that counts unique customers in Tableau.
COUNTD([1])COUNTD(CustomerID) counts unique customers in Tableau.
Fill both blanks to write a Tableau LOD expression that calculates total sales per region.
{ FIXED [1] : SUM([2]) }The FIXED LOD expression fixes the calculation at the Region level, summing Sales.