Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hola a todos
Estoy tratando de calcular el número de entradas el año pasado para el mismo período de tinme que este año.
TCTD 2020 debe contar 01/01/20 y hoy - 1 año
A continuación se muestra lo que he escrito, pero no estoy recibiendo la cuenta que estoy esperando.
Solved! Go to Solution.
Trate de crear medidas como esta:
this_year = TOTALYTD(COUNT('Change Request'[Number])+COUNT(Incidents[Number])+COUNT(Problems[number]),'Table'[Date])
last_year = CALCULATE([this_year],SAMEPERIODLASTYEAR('Table'[Date]))
Trate de crear medidas como esta:
this_year = TOTALYTD(COUNT('Change Request'[Number])+COUNT(Incidents[Number])+COUNT(Problems[number]),'Table'[Date])
last_year = CALCULATE([this_year],SAMEPERIODLASTYEAR('Table'[Date]))
@MC007, con la ayuda de la tabla de fechas se obtiene un año detrás de la medida
Año detrás de ventas = CALCULATE(count('Incidents'[Number]),dateadd('Date'[Date],-1,Year))
O
Año detrás de las ventas = CALCULATE(count('Incidents'[Number]),SAMEPERIODLASTYEAR('Date'[Date]))
O
1 día 1 año atrás hoy
LYTD =
var _min = fecha (año (hoy())-1,1,1)
devolución
CALCULATE(count('Incidents'[Number]), FILTER(ALL('Date'),'Date'[Date] = _min))
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |