cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Syndicate_Admin
Administrator
Administrator

cálculo

Hola

Tengo un error de cálculo

Empresa de cantidad objetivo (anual) =
Dónde a = CALCULAR([Cantidad del mismo mes del año anterior],SAMEPERIODEL año pasado(BMCalendar[Fecha]))
devolución
si(ISBLANK(a),[Cantidad del mismo mes del año anterior], a * 1.2 )
abc_777_1-1686386034511.png

pero el resultado esperado debería ser 4271791.66 * 1.2 = 5,126,149.992 pero mi Compañía de cantidad objetivo (anual) me da 2641923.67.

por favor corrígeme

gracias


1 ACCEPTED SOLUTION
Syndicate_Admin
Administrator
Administrator

2 REPLIES 2
Syndicate_Admin
Administrator
Administrator

es k lo corrijo

Syndicate_Admin
Administrator
Administrator

Parece que cometiste un error en tu DAX. Probar
Empresa de cantidad objetivo (anual) =
VAR a = CALCULATE([Same Month Previous Year Quantity], SAMEPERIODLASTYEAR(BMCalendar[Date]))
DEVOLUCIÓN
SI(ISBLANK(a), [Cantidad del mismo mes del año anterior] * 1.2, A * 1.2)

Helpful resources

Announcements
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

MPPC 2023 PBI Carousel

Power Platform Conference-Power BI and Fabric Sessions

Join us Oct 1 - 6 in Las Vegas for the Microsoft Power Platform Conference.

Top Solution Authors