Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
¡Hola! Tengo un problema cuando intento calcular el % de cumplimiento de una meta mensual (cobertura/Meta), donde la meta va a cambiar cada trimestre.
Este un caso, donde mi meta de enero a marzo fue de un 40%, pero en abril mi meta cambio a un 55%, donde necesito que me divida por el valor que corresponde de acuerdo al mes.
Tengo otra tabla aparte con las metas de cada mes.
La formula que usa actualmente es de forma manualv (cobertura/0.40)
ayuda
Solved! Go to Solution.
Hi @Soledad ,
I think I understand what you mean, you want to divide the data for the corresponding month, right? If so, please try the column.
NewColumn =
Analcoholicos[HNK470]
/ CALCULATE (
SUM ( 'Urbano Con Patente'[COB HNK 470] ),
FILTER (
'Urbano Con Patente',
'Urbano Con Patente'[JEFE DE VENTA]
= FORMAT ( EARLIER ( Analcoholicos[PERIODO] ), "mmm" )
)
)
If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hola!
No se que ocurre que no me identifica el mes en curso.
La formula que utilice es:
pero no me aplica un %distinto al mes en curso
(Analcoholicos[HNK470] es un campo calculado)
La cobertura corresponde a estos números:
donde las metas variables son:
Por ende todos los meses me los está tomando como Abril para el mismo vendedor
73% de enero/70%=104%
75% de Febrero/70%=107%
80% de Marzo/70%=114%
59% de Abril/70% 84%
Debiese tomar de enero a febrero como meta el 60% y sólo en Abril tomar el 70%
Quiza es por formato de la fecha. La base para calcular la cobertura (Analcoholicos[HNK470]) está en formato dd-mm-aaaa. Tal como se muestra acá:
Hi @Soledad ,
I think I understand what you mean, you want to divide the data for the corresponding month, right? If so, please try the column.
NewColumn =
Analcoholicos[HNK470]
/ CALCULATE (
SUM ( 'Urbano Con Patente'[COB HNK 470] ),
FILTER (
'Urbano Con Patente',
'Urbano Con Patente'[JEFE DE VENTA]
= FORMAT ( EARLIER ( Analcoholicos[PERIODO] ), "mmm" )
)
)
If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Soledad ,
I create the following sample data:
Then use the measure or column:
Measure =
SUM ( 'Fact'[cobertura] )
/ CALCULATE ( SUM ( goals[goal] ), goals[Month] = FORMAT ( TODAY (), "mmm" ) )
Column = 'Fact'[cobertura] / CALCULATE ( SUM ( goals[goal] ), goals[Month] = FORMAT ( TODAY (), "mmm" ) )
If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.