Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hola
Espero que alguien pueda ayudar, tengo una mesa muy simple.
Me gustaría poder crear una medida que proporcione la cifra (total) de la última fecha disponible en mis datos. Por lo tanto, en este escenario 500. ¿Alguna idea?
Fecha Total
1/1/2020 100
2/1/2020 150
3/1/2020 400
4/1/2020 500
Gracias
Boycie92
Solved! Go to Solution.
Hola @Boycie92
Tratar
Last Date Total =
var _lastDay = CALCULATE(MAX(Table[Date]), ALL(Table))
RETURN
CALCULATE(MAX(Table[Total]), Table[Date] = _lastDay)
@Boycie92 , pruebe lastnonblankvalue
https://docs.microsoft.com/en-us/dax/lastnonblankvalue-function-dax
lastnonblankvalue(Table[Date],sum(Table[Total])
Hola @Boycie92 ,
saludos
Harsh Nathani
¿Respondí a tu pregunta? ¡Marca mi puesto como solución! Apreciar con un Kudos!! (Haga clic en el botón Pulgarhacia arriba)
@Boycie92 no está seguro de cómo lo va a visualizar
y la siguiente medida utilizando una de las expresiones
Max Total = MAX ( Table[Total] )
Max Total = CALCULATE ( MAX ( Table[Total] ), ALL ( Table] ) )
Me gustaría❤ elogiossi mi solución me ayudó.👉Si puedes pasar tiempo publicando la pregunta, también puedes hacer esfuerzos para darle 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.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.