Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.