POWER BI

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall with Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/70

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No study sessions yet.

71 Terms

1
New cards

Measures

DAX formulas used to generate new calculated values

2
New cards

Like calculated columns - measure reference __________ tables or columns

entire

3
New cards

Unlike calculated columns - measures aren't ________ within tables

visible

4
New cards

Measure can be seen within a _____________________ like a chart of matrix

visualization

5
New cards

Use measure to create _________________, ________________ values that can be analyzed in the "values" field of a report visual

numerical, calculated

6
New cards

_________________ measures are created when you drag raw numerical fields into a report visual and manually select an aggregation mode (Sum, Average, Min, Max, Count, etc)

IMPLICIT

7
New cards

___________________ measures are created when you actually write a DAX formula and define a new measure that can be used within the model

EXPLICIT

8
New cards

Type of measure that can only be accessible within the specific visualization in which they were created - and cannot be referenced elsewhere

IMPLICIT

9
New cards

Type of measure that can be used anywhere in the report, and referenced by other DAX calculations to create "measure trees"

EXPLICIT

10
New cards

________ measures automatically create formulas based on pre-built templates or natural language prompts

QUICK

11
New cards

Quick measure ______________ can be used to build measures using predefined templates (weighted averages, percent difference, time intelligence, etc)

calculations

12
New cards

Quick measure ____________ can be used to find suggested measures based on natural language queries (ie "sum of qty sold by calendar year)

suggestions

13
New cards

Values are calculated based on information from each row of a table (row context)

calculated columns

14
New cards

Values are calculated based on information from any filters in the report (filter context)

measures

15
New cards

Appends static values to each row in a table and stores them in the model (which increases the file size)

calculated columns

16
New cards

Does not create new data in the tables themselves (doesn't increase file size)

measures

17
New cards

Recalculate on data source refresh or when changes are made to component columns

calculated columns

18
New cards

Recalculate in response to any change to filters within the report

measures

19
New cards

Primarily used for filtering data in reports (slicers/filters - use them as dimensions to change the way that you are viewing your data)

calculated columns

20
New cards

Primarily used for aggregating values in report visuals

measures

21
New cards

Calculated columns live in

tables

22
New cards

Measures live in

visuals

23
New cards

Create a dedicated table to store your measures

Option 1 - enter data into power query - Option 2 - create a calculated table using DAX directly in model i.e. Measure Table (DAX) = ("")

24
New cards

+ - * / ^

Arithmetic Operators

25
New cards

= > < >= <= <>

Comparison Operators

26
New cards

& && || IN

Text/Logical Operators

27
New cards

& (text/logical operator)

concatenates two values to produce one text string - i.e. [City] & " " &[State]

28
New cards

&& (text/logical operator)

create an AND condition between two logical expressions - i.e. ([State]="MA") && ([Quantity]>10)

29
New cards

|| (double pipe) (test/logical operator)

create an OR condition between two logical expressions - i.e. ([State]="MA") || ([State]="CT")

30
New cards

IN (text/logical operator)

creates a logical OR condition based on a given list (using curly brackets) - i.e. 'Store Lookup'[State] IN {"MA", "CT", "NY"}

31
New cards

Functions used for aggregation or iterative, row-level calculations

Math & Stats functions (common - SUM, AVERAGE, MAX/MIN, DIVIDE, COUNT/COUNTA, COUNTROWS, DISTINCTCOUNT) (iterator - SUMX, AVERAGEX, MAXX/MINX, RANKX, COUNTX)

32
New cards

Functions that use conditional expressions (IF/THEN statements)

Logical functions (IF, IFERROR, AND, OR, NOT, SWITCH, TRUE, FALSE)

33
New cards

Functions used to manipulate test strings or value formats

Text functions (CONCATENATE, COMBINEVALUES, FORMAT, LEFT/MID/RIGHT, UPPER/LOWER, LEN, SEARCH/FIND, REPLACE, SUBSTITUTE, TRIM)

34
New cards

Functions used to manipulate table and filter contexts

Filter functions (CALCULATE, FILTER, ALL, ALLEXCEPT, ALLSELECTED, KEEPFILTERS, REMOVEFILTERS, SELECTEDVALUE)

35
New cards

Functions that create or manipulate tables and output tables vs. scalar values

Table functions (SUMMARIZE, ADDCOLUMNS, GENERATESERIES, DISTINCT, VALUES, UNION, INTERSECT, TOPN)

36
New cards

Functions used to manipulate date & time values or handle time intelligence calculations

Date & Time functions (common - DATE, DATEDIFF, YEARFRAC, YEAR/MONTH, DAY/HOUR, TODAY/NOW, WEEKDAY, WEEKNUM, NETWORKDAYS) (time intelligence - DATESYTD, DATESMTD, DATESADD, DATESBETWEEN)

37
New cards

Functions used to manage & modify table relationships

Relationship functions (RELATED, RELATEDTABLE, CROSSFILTER, USERELATIONSHIP)

38
New cards

SUM

evaluates the sum of a column =SUM(ColumnName)

39
New cards

AVERAGE

returns the average of all the numbers in a column =AVERAGE(ColumnName)

40
New cards

MAX

returns the largest value in a column or between two scalar expressions =MAX(ColumnNameORScalar1, [Scalar2])

41
New cards

MIN

returns the smallest value in a column or between two scalar expressions =MIN(ColumnNameOrScalar1, [Scalar2])

42
New cards

DIVIDE

performs division and returns the alternate result (or blank) if DIV/0 =DIVIDE(Numerator, Denominator, [AlternateResult])

43
New cards

COUNT

counts the number of non-empty cells in a column (excluding Boolean values) =COUNT(ColumnName)

44
New cards

COUNTA

counts the number of non-empty cells in a column (including Boolean values) =COUNTA(ColumnName)

45
New cards

DISTINCTCOUNT

counts the number of distinct values in a column =DISTINCTCOUNT(ColumnName)

46
New cards

COUNTROWS

counts the number of rows in a specific table, or a table defined by a expression =COUNTROWS({Tabe{)

47
New cards

Checks if a given condition is met and returns one value if the condition is TRUE, and another if the condition is FALSE

IF, =IF(LogicalTest, ResultIfTrue, [ResultsIfFalse])

48
New cards

Evaluates an expression and returns a specified value if it returns an error, otherwise returns the expression itself (display custom value instead)

IFERROR, =IFERROR(Value, ValueIfError)

49
New cards

Evaluates an expression against a list of values and returns one of multiple possible expressions

SWITCH, =SWITCH(Expression, Value1, Result1, ..., [Else])

50
New cards

Checks whether both arguments are TRUE to return TRUE, otherwise returns FALSE - use && for more than two conditions

AND, =AND(Logical1, Logical2)

51
New cards

Checks whether any argument is TRUE to return TRUE, otherwise returns FALSE - use || to include more than two conditions

OR, =OR(Logical1, Logical2)

52
New cards

returns the number of characters in a string

LEN, =LEN(Text)

53
New cards

joins two (and only two) strings into one

=CONCATENATE(Text1, Text2) or use & operator as a shortcut, or to combine more than TWO strings

54
New cards

converts a string to upper or lower case

=UPPER/LOWER(Text)

55
New cards

returns a number of characters from the start/middle/end of a text string

=LEFT/RIGHT(Text, [NumChars])

=MID(Text, StartPosition, NumChars)

56
New cards

replaces an instance of existing text with new text in a string

=SUBSTITUTE(Text, OldText, NewText, [InstanceNumber])

57
New cards

returns the position where a specified string or character is found, reading left to right

=SEARCH(FindText, WithinText, [StartPosition], [NotFoundValue])

58
New cards

returns the current date or exact time

=TODAY/NOW()

59
New cards

returns the day of the month (1-31), month of the year (1-12), or year of a given date

=DAY/MONTH/YEAR(Date)

60
New cards

returns the hour (0-23), minute (0-59), or second (0-59) of a given datetime value

=HOUR/MINUTE/SECOND(Datetime)

61
New cards

returns a weekday number from 1 (Sunday) to 7 (Saturday), or the week # of the year

=WEEKDAY/WWEEKNUM(Date, [ReturnType])

62
New cards

returns the date of the last day of the month, +/- a specified number of months

=EOMONTH(StartDate, Months)

63
New cards

returns the difference between two dates, based on a given interval (day, hour, year, etc.)

=DATEDIFF(Date1, Date2, Interval)

64
New cards

returns related values in each row of a table based on relationships with other tables (need to be on the many side reaching over to the one side)

=RELATED(ColumnName) - the column from a related table containing the values you want to retrieve (works almost like a VLOOKUP in Excel)

65
New cards

filter modifier (like sum if and count if) - that allows you to overrule existing report filters and "force" new filter context

=CALCULATE(Expression, [Filter1], [Filter2]) expression = existing measure or DAX formula and filter are Boolean (T/F) expression or aggregation functions

66
New cards

returns all rows in a table, or all values in a column, ignoring any filters that have been applied (pro tip - instead of adding filter context, the ALL function removes it - this is often used in "% of Total" calculations, when the denominator needs to remain fixed regardless of filter context)

=ALL(Table or Column, [Column2], [Column3],...) = the table or column that you want to clear filters on

67
New cards

returns a table that represents a subset of another table or expression (it cuts out rows that do not meet the filter criteria) (iterator function that scans each row and eliminates rows - creates new table)

=FILTER(Table, FilterExpression)

68
New cards

allow you to loop through the same expression on each row of a table, then apply some sort of aggregation to the results (SUM, MAX, etc)

Iterator (or "X") functions

69
New cards

Still learning (29)

You've started learning these terms. Keep it up!

70
New cards

DAX

Data Analysis Expressions, a formula language used in Power BI for data modeling and analysis.

71
New cards

Explore top flashcards