You have a table named SalesData with columns Product, Month, and Sales. You want to create a new table that shows Month as rows and Product as columns with the sum of Sales as values.
Which DAX expression correctly transposes the data?
Think about a function that groups by multiple columns and aggregates values.
SUMMARIZECOLUMNS groups by Month and Product and sums Sales. This creates a table suitable for pivoting in visuals.
You have transposed sales data where months are rows and products are columns showing sales amounts. Which visualization type best displays this transposed data for easy comparison across products and months?
Look for a visual that supports rows and columns with values in a grid.
The Matrix Visual in Power BI is designed to display data in rows and columns, perfect for transposed tables.
You have two tables: Products and Sales. The Sales table has multiple entries per product per month. You want to create a transposed summary table showing total sales per product per month. What is the best modeling approach to avoid incorrect aggregation?
Think about correct relationship types for aggregation.
A one-to-many relationship from Products to Sales ensures correct aggregation of sales per product. Many-to-many can cause double counting.
You wrote this DAX measure to transpose sales data by month and product:
TransposedSales = SUMMARIZE(SalesData, SalesData[Month], SalesData[Product], "TotalSales", SUM(SalesData[Sales]))
But the results show duplicated rows and incorrect totals. What is the likely cause?
Consider differences between SUMMARIZE and SUMMARIZECOLUMNS in context handling.
SUMMARIZE can cause unexpected row duplication due to context transition issues. SUMMARIZECOLUMNS is preferred for reliable aggregation.
When transposing large datasets in Power BI, what is the most important factor affecting report performance?
Think about how data shape affects storage and processing.
Transposing data often increases columns, which raises cardinality and memory use, impacting performance more than relationships or slicers.