The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hola a todos
Tengo debajo de las tablas y quiero calcular la tasa de rotación como se muestra a continuación . Esto va a ser un cálculo gradual para cada año
tasa de rotación-empleado fuera de la placa(2020)/avg(dec 2020 count+dec 2019 count) |
Tabla de datos
Cualquier sugerencia sería apreciada.
Gracias
@DAX_Learner07, si tiene fecha, entonces puede usar la inteligencia de tiempo
Ventas MTD: CALCULATE(SUM(Sales[Sales Amount]),DATESMTD('Date'[Date]))
Last MTD Sales - CALCULATE(SUM(Sales[Sales Amount]),DATESMTD(dateadd('Date'[Date],-1,MONTH)))
2o último MTD Sales - CALCULATE(SUM(Sales[Sales Amount]),DATESMTD(dateadd('Date'[Date],-2,MONTH)))
divide([MTD Sales], ([last MTD Sales]+[2nd last MTD Sales])/2)
Hola traté de calcular el conteo fuera de borda usando folrmulae mencionado, pero no funciona
para 2020, formulae es fuera de borda _2020/avg (número de cabezas en2019+headcount at2020)
WIP_C_Previous año completo ?
var avgLast[DECTable N-1]+[DECTable N-2]
var avgSec_Last[DECTable N-2]+[DECTable N-3]
var off_curr-CALCULATE(SUM(Per[OFFBOARD_COUNT]),Per[Year]-YEAR(NOW()))
var off_last-CALCULATE(SUM(Per[OFFBOARD_COUNT]),Per[Year]-YEAR(NOW())-1)
var off_last2-CALCULATE(SUM(Per[OFFBOARD_COUNT]),Per[Year]-YEAR(NOW())-2)
devolución
IF(YEAR(RELATED('Date'[Date]))-YEAR(NOW()), off_curr/avgLast,
IF(YEAR(RELATED('Date'[Date]))-(YEAR(now())-1),(off_last,avgSec_Last)))
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the June 2024 Power BI update to learn about new features.