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
Anonymous
Not applicable

Suma de días con filtro para el análisis de varianza

Estoy tratando de crear un análisis de varianza en el combustible, y mi medida de dax actual no está poblando ningún dato en absoluto.

Actualmente tengo;

Nuestro precio medio : calculate(AVERAGE(Fuel[Price]), 'Fuel'[Point_Type] á "COAG", all(Fuel[Point_Type]))
Esto funciona según lo previsto.
Desviación de precios - PROMEDIO(Fuel[Price])-[Nuestro precio medio]
Esto también funciona según lo previsto.
• De días más de precio ? CALCULATE(sum('Fuel'[Fecha]),Filtro(Combustible,[Nuestro precio promedio]<0))
No recibo ningún error, sin embargo, no se rellenan los datos.
Datos de muestra
Precio del punto de combustible de la fecha de la tienda
95 8/1/2020 COAG 1.99
95 8/1/2020 Competidor 2.03
95 8/1/2020 Competidor no ponderado 1.97

1 ACCEPTED SOLUTION
pranit828
Community Champion
Community Champion

Hola @danielmcgary

tratar de usar

• De días más de precio ? CALCULATE(count('Fuel'[Fecha]),Filter(ALLEXCEPT('Fuel', 'Fuel'[Store] ),[Nuestro precio promedio]<0))





PBI_SuperUser_Rank@1x.png


Hope it resolves your issue? 
Did I answer your question? Mark my post as a solution!

Appreciate your Kudos, Press the thumbs up button!!
Linkedin Profile

View solution in original post

2 REPLIES 2
Ashish_Mathur
Super User
Super User

Hola

Comparta un conjunto de datos de ejemplo y muestre el resultado esperado.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
pranit828
Community Champion
Community Champion

Hola @danielmcgary

tratar de usar

• De días más de precio ? CALCULATE(count('Fuel'[Fecha]),Filter(ALLEXCEPT('Fuel', 'Fuel'[Store] ),[Nuestro precio promedio]<0))





PBI_SuperUser_Rank@1x.png


Hope it resolves your issue? 
Did I answer your question? Mark my post as a solution!

Appreciate your Kudos, Press the thumbs up button!!
Linkedin Profile

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.