Power BI(2): 타이타닉 대시보드 만들기
국민 Data 타이타닉 활용 사용 Col: Pclass, Embarked, Survived, Age 파생변수 전체고객수(CNT) = CALCULATE(count(titanic[PassengerId]), FILTER('titanic', titanic[Survived] = 0 || 1)) 연령대 = SWITCH( TRUE(), [Age] >=50, "50대 이상", [Age] >=40, "40대", [Age] >=30, "30대", "20대 이하" 생존, 사망자수(CNT) = CALCULATE(count(titanic[PassengerId]), FILTER('titanic', titanic[Survived] = 0)) #0 or 1