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
schmere
New Member

Totales de suma no como se esperaba.

Hola Comunidad,

dependiendo de la fecha en que mi "demanda" measure sea igual a Reales o un Pronóstico. La medida funciona bien, pero el total no resume la demanda, sino que sólo muestra el resultado de las primeras semanas. Si selecciono un trimestre futuro o un trimestre histórico, la suma es correcta. El error sólo aparece en el trimestre actual, donde el total de la medida de la demanda puede ser una combinación de previsión y datos reales. ¿Alguna idea o sugerencia de cómo puedo arreglar esto para que el trimestre actual resuma toda la medida de demanda?

exigición:

demand ( If(TODAY()-7)>FIRSTNONBLANK(Sheet1[Period Start],Sheet1[Period Start]),[Actuals U],[Demand final])

Instantánea de la demanda total.

power BI.JPG

Muchas gracias

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@schmere , Probar una medida

sumx(values(Sheet1[Date]), demand -If((TODAY()-7)>FIRSTNONBLANK(Sheet1[Period Start],Sheet1[Period Start]),[Actuals U],[Final demand]))

View solution in original post

2 REPLIES 2
schmere
New Member

Gracias @amitchandak. Eso funcionó como un encanto.

amitchandak
Super User
Super User

@schmere , Probar una medida

sumx(values(Sheet1[Date]), demand -If((TODAY()-7)>FIRSTNONBLANK(Sheet1[Period Start],Sheet1[Period Start]),[Actuals U],[Final demand]))

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.