The document discusses setting up a dashboard in Power BI to analyze Adventureworks sales data. It includes instructions on connecting multiple tables, transforming date fields, and creating new columns and measures. Numerical measures to calculate metrics like total orders, revenue, returns and more are also defined using DAX.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
56 views4 pages
Dashboard - Final Document
The document discusses setting up a dashboard in Power BI to analyze Adventureworks sales data. It includes instructions on connecting multiple tables, transforming date fields, and creating new columns and measures. Numerical measures to calculate metrics like total orders, revenue, returns and more are also defined using DAX.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4
Dashboard: Data- Adventureworks Sales
Get Data → Import all Tables
Establish Relational connection among Tables. Check the following connection among tables. If not establish between them.
1. Calendar Lookup → Returns Data
[Date → ReturnDate] 2. Calendar Lookup → Sales Data [Date → OrderDate] 3. Customer Lookup → Sales Data [CustomerKey → CustomerKey] 4. Product Category Lookup → Product Subcategory Lookup [ProductCategoryKey → ProductCategoryKey] 5. Product Lookup → Sales Data [ ProductKey → ProductKey] 6. Product Lookup → Returns Data [ProductKey → ProductKey] 7. Product Subcategory Lookup → Product Lookup [ProductSubcategoryKey → ProductSubcategoryKey] 8. Territory Lookup → Returns Data [SalesTerritoryKey → TerritoryKey] Table: Calendar Lookup Open Power BI → Transform Data → New Source →Connect to ‘Calendar Lookup’ Now click on the filed “Date’ Add Column Tab → Date
Date → Day → Name of Day
Date → Month → Month Date →Month → Name of Month Date →Quarter → Quarter of Year Date →Week → Week of Year Date →Month → Start of Year Date →Quarter → Start of Quarter Date →Week → Start of Week Date →Year → Start of Year
Home Tab → Close & Apply
The work will be automatically saved.
Now create two new columns: Weekend and Quarter Name
Go to Data View → New Column Weekend=IF(‘Calendar Lookup’[DayName] = "Saturday" || "Calendar Lookup' [Day Name] = "Sunday", "Weekend","Weekday")
Open Power BI → Transform Data → New Source →Connect to ‘Customer Lookup’
View Tab → Column Distribution → Remove Errors
Home Tab → Close & Apply The work will be automatically saved. Go to Data View → New Column Parent = IF('Customer Lookup’[TotalChildren]>0,"Yes", "No")