Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hola
Alguien puede ayudarme con Dax.
He creado 2 medidas que toman la fecha de inicio y la fecha de finalización de la segmentación.
StartDate á calculate(min(datetable[date]),allselected(datetable[date]))
EndDate á calculate(max(datetable[date]),allselected(datetable[date]))
Quiero crear una columna que muestre que una tarjeta en particular ha caducado o no.
Caducado: IF([Fecha de finalización] > 'Tipo de tarjeta'[GracePeriodEndDate] ,1,0)
Estoy usando esta fórmula, pero esto está dando 0 para todas las filas.
Tengo que contar las cartas activas y caducadas en un rango de fechas en particular.
Si selecciono un intervalo de fechas de 1enero-2015 a 15Nov-2015 , y una tarjeta caduca el 22 de junio, entonces ese recuento de tarjetas debe venir
en Activo, así como expirado para este intervalo de fechas.
@mvarun01 añadir esto como un mesaure
Expired = IF([End Date] > MAX('Card Type'[GracePeriodEndDate]) ,1,0)
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.
@mvarun01 siento me perdí la relación, prueba esta medida
Expired_Measure =
VAR __m = MAX('Card Type'[GracePeriodEndDate])
RETURN IF ( [End Date] > __m , 1, 0 ) * DIVIDE (__m, __m)
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.
@parry2k Intenté esta medida, pero todavía no tengo la solución. Realmente aprecio tus esfuerzos. Gracias
@mvarun01 No tengo idea de por qué no está funcionando, compartir el archivo pbix, eliminar información sensible antes de compartir.
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.