Câu 16: 70-778: Analyzing and Visualizing Data with Microsoft Power BI
You have a Power BI model that contains the following two tables: ✑ Sales (Sales_ID, DateID, sales_amount) ✑ Date(DateID, Date, Month, Week, Year)The tables have a relationship. You need to create a measure to calculate the sales for same period from the previous year. Which DAX formula should you use?
Nội dung câu hỏi
You have a Power BI model that contains the following two tables: ✑ Sales (Sales_ID, DateID, sales_amount) ✑ Date(DateID, Date, Month, Week, Year)The tables have a relationship. You need to create a measure to calculate the sales for same period from the previous year. Which DAX formula should you use?
Các lựa chọn
Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.
- A. SUM(sales[sales_amount]) - CALCULATE(SUM(sales[sales_amount]), DATESYID('Date'[Date]))
- B. CALCULATE(SUM(sales[sales_amount]), SAMEPERIODLASTYEAR('Date'[Date]))
- C. SUM(sales[sales_amount]) "" CALCULATE(SUM(sales[sales_amount]), SAMEPERIODLASTYEAR('Date'[Date])) — đáp án hiện tại
- D. CALCULATEx(SUM(sales(sales_amount]), DATESYID('Date'[Date]))
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.
Chưa có bình luận. Mở giao diện tương tác để bắt đầu thảo luận.