POWER BI: Ứng dụng hàm Average/AverageX/Countrows trên Dashboard

 1. Trình bày Average doanh thu phim và conditional formating cho matrix


- Tạo new measure :
Measure = AVERAGE(Films[BoxOfficeDollars])/1000000
- Vào đây để conditional format:


2.Tính profit =doanh thu-chi phí


Profit = AVERAGEX(Films,(Films[BoxOfficeDollars]-Films[BudgetDollars])/1000000)
3.Đếm số phim theo các phân loại trong bảng


Number of film = COUNTROWS(Films)

Nhận xét