Complete the code to load data from two different sources in Power BI.
Source1 = Sql.Database("ServerName", [1])
In Power BI, to connect to a SQL Server database, you specify the database name as the second argument in Sql.Database.
Complete the code to merge two tables from different data sources in Power BI.
MergedTable = Table.NestedJoin(Source1, {"ID"}, [1], {"ID"}, "NewTable")To merge tables from two different sources, you join Source1 with Source2 on the common column.
Fix the error in the DAX measure to calculate total sales from two different tables.
TotalSales = SUM([1][SalesAmount]) + SUM(Source2[SalesAmount])The measure must sum the SalesAmount column from both Source1 and Source2 tables.
Fill both blanks to create a relationship between two tables from different sources in Power BI.
Relationship = Table.AddRelationship([1], "CustomerID", [2], "CustomerID")
To relate two tables, specify the first table and the second table with the common key column.
Fill all three blanks to create a calculated table combining data from two sources with a filter.
CombinedTable = FILTER(UNION([1], [2]), [3] > 1000)
The UNION combines two tables, and FILTER applies a condition on the SalesAmount column.