Curso Avanzado Power BI: Temario y DAX
Curso Avanzado Power BI: Temario y DAX
Power BI para la
Gestión Empresarial
Temario detallado y
Fórmulas DAX
POWER BI UNIVERSITY
Temario 1
POWER BI UNIVERSITY
[Link]
POWER BI UNIVERSITY
[Link]
POWER BI UNIVERSITY
[Link]
POWER BI UNIVERSITY
[Link]
POWER BI UNIVERSITY
[Link]
POWER BI UNIVERSITY
Funciones DAX
En la formación se contemplan las distintas funciones DAX en función del nivel de dificultad y a lo largo del
curso se verán todas ellas.
Date and time functions CALENDAR Returns a table with a single column named Básico
“Date” that contains a contiguous set of dates.
Date and time functions CALENDARAUTO Returns a table with a single column named Básico
“Date” that contains a contiguous set of dates.
Date and time functions DATE Returns the specified date in datetime format. Básico
Date and time functions DATEDIFF Returns the count of interval boundaries crossed Básico
between two dates.
Date and time functions DATEVALUE Converts a date in the form of text to a date in Básico
datetime format.
Date and time functions DAY Returns the day of the month, a number from 1 Básico
to 31.
Date and time functions EDATE Returns the date that is the indicated number of Básico
months before or after the start date.
Date and time functions EOMONTH Returns the date in datetime format of the last Básico
day of the month, before or after a specified
number of months.
Date and time functions HOUR Returns the hour as a number from 0 (12:00 A.M.) Básico
to 23 (11:00 P.M.).
Date and time functions MINUTE Returns the minute as a number from 0 to 59, Básico
given a date and time value.
Date and time functions MONTH Returns the month as a number from 1 (January) Básico
to 12 (December).
Date and time functions NOW Returns the current date and time in datetime Básico
format.
Date and time functions SECOND Returns the seconds of a time value, as a number Básico
from 0 to 59.
Date and time functions TIME Converts hours, minutes, and seconds given as Básico
numbers to a time in datetime format.
Date and time functions TIMEVALUE Converts a time in text format to a time in Básico
datetime format.
POWER BI UNIVERSITY
[Link]
Date and time functions TODAY Returns the current date. Básico
Date and time functions WEEKDAY Returns a number from 1 to 7 identifying the day Básico
of the week of a date.
Date and time functions WEEKNUM Returns the week number for the given date and Básico
year according to the return_type value.
Date and time functions YEAR Returns the year of a date as a four digit integer Básico
in the range 1900-9999.
Date and time functions YEARFRAC Calculates the fraction of the year represented by Básico
the number of whole days between two dates.
Time-intelligence functions CLOSINGBALANCEMONTH Evaluates the expression at the last date of the Medio
month in the current context.
Time-intelligence functions CLOSINGBALANCEMONTH Evaluates the expression at the last date of the Medio
quarter in the current context.
Time-intelligence functions CLOSINGBALANCEMONTH Evaluates the expression at the last date of the Medio
year in the current context.
Time-intelligence functions DATEADD Returns a table that contains a column of dates, Básico
shifted either forward or backward in time by the
specified number of intervals from the dates in
the current context.
Time-intelligence functions DATESBETWEEN Returns a table that contains a column of dates Medio
that begins with the start_date and continues
until the end_date.
Time-intelligence functions DATESINPERIOD Returns a table that contains a column of dates Avanzado
that begins with the start_date and continues for
the specified number_of_intervals.
Time-intelligence functions DATESMTD Returns a table that contains a column of the Avanzado
dates for the month to date, in the current
context.
Time-intelligence functions DATESQTD Returns a table that contains a column of the Avanzado
dates for the quarter to date, in the current
context.
Time-intelligence functions DATESYTD Returns a table that contains a column of the Avanzado
dates for the year to date, in the current context.
Time-intelligence functions ENDOFMONTH Returns the last date of the month in the current Medio
context for the specified column of dates.
Time-intelligence functions ENDOFQUARTER Returns the last date of the quarter in the current Medio
context for the specified column of dates.
Time-intelligence functions ENDOFYEAR Returns the last date of the year in the current Medio
context for the specified column of dates.
Time-intelligence functions FIRSTDATE Returns the first date in the current context for Medio
the specified column of dates.
POWER BI UNIVERSITY
[Link]
Date and time functions FIRSTNONBLANK Returns the first value in the column, column, Avanzado
filtered by the current context, where the
expression is not blank
Date and time functions LASTDATE Returns the last date in the current context for Avanzado
the specified column of dates.
Date and time functions LASTNONBLANK Returns the last value in the column, column, Avanzado
filtered by the current context, where the
expression is not blank.
Date and time functions NEXTDAY Returns a table that contains a column of all Avanzado
dates from the next day, based on the first date
specified in the dates column in the current
context.
Date and time functions NEXTMONTH Returns a table that contains a column of all Avanzado
dates from the next month, based on the first
date in the dates column in the current context.
Time-intelligence functions NEXTQUARTER Returns a table that contains a column of all Avanzado
dates in the next quarter, based on the first date
specified in the dates column, in the current
context.
Time-intelligence functions NEXTYEAR Returns a table that contains a column of all Avanzado
dates in the next year, based on the first date in
the dates column, in the current context.
Time-intelligence functions OPENINGBALANCEMONTH Evaluates the expression at the first date of the Medio
month in the current context.
Time-intelligence functions OPENINGBALANCEMONTH Evaluates the expression at the first date of the Medio
quarter, in the current context.
Time-intelligence functions OPENINGBALANCEMONTH Evaluates the expression at the first date of the Medio
year in the current context.
Time-intelligence functions PARALLELPERIOD Returns a table that contains a column of dates Medio
that represents a period parallel to the dates
in the specified dates column, in the current
context, with the dates shifted a number of
intervals either forward in time or back in time.
Time-intelligence functions PREVIOUSDAY Returns a table that contains a column of all Medio
dates representing the day that is previous to
the first date in the dates column, in the current
context.
Time-intelligence functions PREVIOUSMONTH Returns a table that contains a column of all Medio
dates from the previous month, based on the first
date in the dates column, in the current context.
Time-intelligence functions PREVIOUSQUARTER Returns a table that contains a column of all Medio
dates from the previous quarter, based on the
first date in the dates column, in the current
context.
POWER BI UNIVERSITY
[Link]
Time-intelligence functions PREVIOUSYEAR Returns a table that contains a column of all Medio
dates from the previous year, given the last date
in the dates column, in the current context.
Time-intelligence functions SAMEPERIODLASTYEAR Returns a table that contains a column of dates Medio
shifted one year back in time from the dates
in the specified dates column, in the current
context.
Time-intelligence functions STARTOFMONTH Returns the first date of the month in the current Medio
context for the specified column of dates.
Time-intelligence functions STARTOFQUARTER Returns the first date of the quarter in the current Medio
context for the specified column of dates.
Time-intelligence functions STARTOFYEAR Returns the first date of the year in the current Medio
context for the specified column of dates.
Time-intelligence functions TOTALMTD Evaluates the value of the expression for the Básico
month to date, in the current context.
Time-intelligence functions TOTALQTD Evaluates the value of the expression for the Básico
dates in the quarter to date, in the current
context.
Time-intelligence functions TOTALYTD Evaluates the year-to-date value of the Básico
expression in the current context.
Filter functions ALL Returns all the rows in a table, or all the values Básico
in a column, ignoring any filters that might have
been applied.
Filter functions ALLCROSSFILTERED Clear all filters which are applied to a table. Avanzado
Filter functions ALLEXCEPT Removes all context filters in the table except Medio
filters that have been applied to the specified
columns.
Filter functions ALLNOBLANKROW From the parent table of a relationship, returns Avanzado
all rows but the blank row, or all distinct values of
a column but the blank row, and disregards any
context filters that might exist.
Filter functions ALLSELECTED Removes context filters from columns and rows in Avanzado
the current query, while retaining all other context
filters or explicit filters.
Filter functions CALCULATE Evaluates an expression in a context that is Básico
modified by the specified filters.
Filter functions CALCULATETABLE Evaluates a table expression in a context Avanzado
modified by the given filters.
Filter functions CROSSFILTER Specifies the cross-filtering direction to be used Avanzado
function in a calculation for a relationship that exists
between two columns.
Filter functions DISTINCT Returns a one-column table that contains the Básico
distinct values from the specified column.
POWER BI UNIVERSITY
[Link]
Filter functions EARLIER Returns the current value of the specified column Avanzado
in an outer evaluation pass of the mentioned
column.
Filter functions EARLIEST Returns the current value of the specified column Avanzado
in an outer evaluation pass of the specified
column.
Filter functions FILTER Returns a table that represents a subset of Medio
another table or expression.
Filter functions FILTERS Returns the values that are directly applied as Medio
filters to columnName.
Filter functions HASONEFILTER Returns TRUE when the number of directly Medio
filtered values on columnName is one; otherwise
returns FALSE.
Filter functions HASONEVALUE Returns TRUE when the context for columnName Medio
has been filtered down to one distinct value only.
Otherwise is FALSE.
Filter functions ISCROSSFILTERED Returns TRUE when columnName or another Avanzado
column in the same or related table is being
filtered.
Filter functions ISFILTERED Returns TRUE when columnName is being Avanzado
filtered directly.
Filter functions RELATED Returns a related value from another table. Medio
Filter functions SELECTEDVALUE Returns the value when the context for Medio
columnName has been filtered down to
one distinct value only. Otherwise returns
alternateResult.
Filter functions USERELATIONSHIP Specifies the relationship to be used in a specific Medio
calculation as the one that exists between
columnName1 and columnName2.
Filter functions VALUES Returns a one-column table that contains the Medio
distinct values from the specified table or column.
Information functions ISBLANK Checks whether a value is blank, and returns Medio
TRUE or FALSE.
Information functions ISINSCOPE Returns true when the specified column is the Medio
level in a hierarchy of levels.
Information functions LOOKUPVALUE Returns the value in result_columnName for the Medio
row that meets all criteria specified by
search_columnName and search_value.
Information functions USERNAME Returns the domain name and username from Medio
the credentials given to the system at connection
time.
POWER BI UNIVERSITY
[Link]
Logical functions AND Checks whether both arguments are TRUE, and Medio
returns TRUE if both arguments are TRUE.
Logical functions FALSE Returns the logical value FALSE. Medio
Math and Trig functions ABS Returns the absolute value of a number. Básico
Math and Trig functions DIVIDE Performs division and returns alternate result or Básico
BLANK() on division by 0.
Math and Trig functions ROUND Rounds a number to the specified number of Avanzado
digits.
Math and Trig functions ROUNDDOWN Rounds a number down, toward zero. Avanzado
Math and Trig functions ROUNDUP Rounds a number up, away from 0 (zero). Avanzado
Math and Trig functions SUM Adds all the numbers in a column. Básico
Math and Trig functions SUMX Returns the sum of an expression evaluated for Medio
each row in a table.
Other functions GROUPBY Similar to the SUMMARIZE function,GROUPBY Avanzado
does not do an implicit CALCULATE for any
extension columns that it adds.
Other functions TREATAS Applies the result of a table expression as filters Avanzado
to columns from an unrelated table.
Other functions UNION Creates a union (join) table from a pair of tables. Avanzado
Parent and Child functions PATH Returns a delimited text string with the identifiers Medio
of all the parents of the current identifier.
Parent and Child functions PATHCONTAINS Returns TRUE if the specified item exists within Medio
the specified path.
POWER BI UNIVERSITY
[Link]
Parent and Child functions PATHITEM Returns the item at the specified position from Medio
a string resulting from evaluation of a PATH
function.
Parent and Child functions PATHITEMREVERSE Returns the item at the specified position from Medio
a string resulting from evaluation of a PATH
function.
Parent and Child functions PATHLENGTH Returns the number of parents to the specified Medio
item in a given PATH result, including self.
Statistical functions ADDCOLUMNS Adds calculated columns to the given table or Avanzado
table expression.
Statistical functions AVERAGE Returns the average (arithmetic mean) of all the Básico
numbers in a column.
Statistical functions AVERAGEA Returns the average (arithmetic mean) of the Medio
values in a column.
Statistical functions AVERAGEX Calculates the average (arithmetic mean) of a set Medio
of expressions evaluated over a table.
Statistical functions COUNT The COUNT function counts the number of cells Básico
in a column that contain numbers.
Statistical functions COUNTA The COUNTA function counts the number of cells Medio
in a column that are not empty.
Statistical functions COUNTAX The COUNTAX function counts nonblank results Medio
when evaluating the result of an expression over
a table.
Statistical functions COUNTBLANK Counts the number of blank cells in a column. Medio
Statistical functions COUNTROWS The COUNTROWS function counts the number Medio
of rows in the specified table, or in a table
defined by an expression.
Statistical functions COUNTX Counts the number of rows that contain a Medio
number or an expression that evaluates to a
number, when evaluating an expression over a
table.
Statistical functions DISTINCTCOUNT Counts the number of distinct values in a column. Medio
Statistical functions MAX Returns the largest numeric value in a column, or Básico
between two scalar expressions.
Statistical functions MAXA Returns the largest value in a column. Básico
Statistical functions MAXX Evaluates an expression for each row of a table Medio
and returns the largest numeric value.
Statistical functions MIN Returns the smallest numeric value in a column, Medio
or between two scalar expressions.
POWER BI UNIVERSITY
[Link]
Statistical functions MINA Returns the smallest value in a column, including Medio
any logical values and numbers represented as
text.
Statistical functions MINX Returns the smallest numeric value that results Medio
from evaluating an expression for each row of a
table.
Statistical functions SUMMARIZE Returns a summary table for the requested totals Avanzado
over a set of groups.
Statistical functions TOPN Returns the top N rows of the specified table. Medio
Text functions MID Returns a string of characters from the middle of Medio
a text string, given a starting position and length.
Text functions REPLACE REPLACE replaces part of a text string, based Medio
on the number of characters you specify, with a
different text string.
Text functions RIGHT RIGHT returns the last character or characters in Medio
a text string, based on the number of characters
you specify.
Text functions SEARCH Returns the number of the character at which Medio
a specific character or text string is first found,
reading left to right.
Text functions VALUE Converts a text string that represents a number Medio
to a number.
POWER BI UNIVERSITY
“Contacta con nosotros para más información”
[Link] [Link]@[Link] tel. 910 883 204
POWER BI UNIVERSITY