Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Estoy haciendo algunos análisis sobre Covid 19 casos . El problema es que mi conjunto de datos no muestra nuevos casos cada día, sino el total de casos acumulados hasta la fecha. Para identificar el aumento incremental en los casos cada día creé la meausure a continuación . La medida funciona en algunas filas, pero en ciertas filas no funciona. por ejemplo, el aumento no se calculó como se muestra en la tabla siguiente cuando los casos aumentaron de 59 a 60 o de 60 a 61 y hay muchas otras instancias en las que esto ocurre. ¿Alguien piensa en lo que está ocurriendo aquí?
@dwhittak intente cambiar MAX a SUM, tal vez haya dos transacciones en el mismo día
Today Cases =
SUM('Daily Covid -19 Tracker'[Sum of total_cases]) -
CALCULATE(SUM('Daily Covid -19 Tracker'[Sum of total_cases]), FILTER(ALL('Daily Covid -19 Tracker'), 'Daily Covid -19 Tracker'[date] = MAX('Daily Covid -19 Tracker'[date]) -1) )
Me gustaría❤ elogiossi mi solución ayudara.👉Si puedes pasar tiempo publicando la pregunta, también puedes hacer esfuerzos para dar a Kudos quien haya ayudado a resolver tu problema. ¡Es una muestra de agradecimiento!
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
¿por qué no usas la solución de aquí https://community.powerbi.com/t5/Desktop/Converting-daily-aggregated-COVID-data-to-an-accurate-Month...
el problema de sus datos es más complicado, tiene muchas columnas diferentes, utilice
Today Cases =
CALCULATE(SUM('Daily Covid -19 Tracker'[Sum of total_cases]), ALLEXCEPT('Daily Covid -19 Tracker', 'Daily Covid -19 Tracker'[Date]) ) -
CALCULATE(SUM('Daily Covid -19 Tracker'[Sum of total_cases]), FILTER(ALL('Daily Covid -19 Tracker'), 'Daily Covid -19 Tracker'[Date] = MAX('Daily Covid -19 Tracker'[Date]) -1) )
@az38 Usé una fuente de datos diferente. y aunque su publicación original me ayudó con mi conjunto de datos original, él responde de manera diferente a los nuevos datos. Gracias por su ayuda