Foros › Power BI en general › Completar cotizaciones de moneda en blanco con la cotización del día previo
Ana tienes tabla de fechas en tu modelo? SI tienes.
Adecua estas dos funciones a ver si te funcionan, algo que tengo por aqui de antes.
Number of Inspections (COALESCE) =
VAR InspectionsLastMonth =
CALCULATE(
[Number of Inspections],
PREVIOUSMONTH(
‘New Calendar’[Date]
)
)
RETURN
COALESCE(
[Number of Inspections],
CustomerSalesLastMonth
)
IF(
ISBLANK(
[Number of Inspections]
),
CALCULATE(
[Number of Inspections],
PREVIOUSMONTH(
‘New Calendar’[Date]
)
),
[Number of Inspections]
)
Saludos