Skip to Content
Microsoft Power BI 학습
book

Microsoft Power BI 학습

by Jeremey Arnold
May 2025
Beginner to intermediate
310 pages
5h 1m
Korean
O'Reilly Media, Inc.
Content preview from Microsoft Power BI 학습

부록 A. 일반적으로 사용되는 DAX 표현식

이 부록에서는 Power BI에서 가장 일반적으로 사용되는 몇 가지 DAX 함수의 구문을 살펴봅니다. 이러한 함수는 섹션별로 정리한 다음 해당 섹션 내에서 알파벳순으로 정리합니다. 각 함수에 대해 함수의 목적, 함수의 구문 및 해당 구문을 사용한 예제에 대한 간략한 설명이 제공됩니다.

이 목록은 DAX 언어의 모든 함수에 대한 전체 목록이 아닙니다. 이는 "DAX 함수 참조"에서 검토할 수 있습니다.

많은 것들이 그렇듯이, DAX는 20%의 숙련도(투입)로 모든 문제(산출)의 80%를 해결할 수 있다는 파레토 원칙의 대표적인 예입니다.

집계 함수

평균

정의

열의 모든 숫자 값의 평균(평균)을 반환합니다.

구문

AVERAGE ( [ColumnName] )

AverageScore = AVERAGE ( GradeScore[Score] )

AVERAGEX

정의

테이블의 각 행에 대해 평가된 표현식 집합의 평균(평균)을 계산합니다.

구문

AVERAGEX ( 'TableName' , <expression> )

AverageScorePercentage = AVERAGEX ( 'GradeScores', 'GradeScores'[Score] + 
  'GradeScores'[MaximumPossibleScore] )

COUNT

정의

비어 있지 않은 열의 레코드 수를 반환합니다.

구문

COUNT ( [ColumnName] )

CountOfStudents = COUNT ( 'UniversitySuppliedData'[StudentID] )

DISTINCTCOUNT

정의

지정된 열에 대한 고유값의 개수를 반환합니다.

구문

DISTINCTCOUNT ( [ColumnName] )

CountOfStudents = DISTINCTCOUNT ( 'GradeScores'[StudentID] )

MAX

정의

열에서 가장 큰 값을 반환합니다.

구문

MAX ( [ColumnName] )

HighestScore = MAX ( 'GradeScores'[Score] )

MAXX

정의

주어진 테이블의 각 행에 대한 표현식의 가장 큰 값을 반환합니다.

구문

MAXX ( 'TableName', <expression> )

LargestScoreAndOfficeHours = MAXX ( 'GradeScores', 'GradeScores'[Score] + 
  'GradeScores'[OfficeHoursAttended] )

MIN

정의

열에서 가장 작은 값을 반환합니다.

구문

MIN ( [ColumnName] )

LowestScore = MIN ( 'GradeScores'[Score] )

MINX

정의

주어진 테이블의 각 행에 대한 표현식의 가장 작은 값을 반환합니다.

구문

MINX ( 'TableName', <expression> )

 LowestScoreAndOfficeHours = MINX ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Python 및 R을 사용한 축구 분석

Python 및 R을 사용한 축구 분석

Eric A. Eager, Richard A. Erickson
Three Essentials for Agentic AI Security

Three Essentials for Agentic AI Security

Paolo Dal Cin, Daniel Kendzior, Yusof Seedat, Renato Marinho

Publisher Resources

ISBN: 9798341654440