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
Naveen_SV
Helper IV
Helper IV

Cómo mostrar En blanco en la tarjeta cuando he utilizado la columna de fecha si ninguno de los filtros está seleccionado

Tengo un requriemnt en el uso de la tarjeta visual estoy mostrando la fecha que como lista de orejas eselelected,

pero mi cliente está buscando cuando no hay filtros se seleccionan debe date forpc.PNG disply (en blanco).

6 REPLIES 6
Pragati11
Super User
Super User

Hola @Naveen_SV ,

Solo quiero algunos detalles adicionales sobre su consulta. ¿Qué filtro está utilizando para obtener este valor de fecha en el objeto visual de la tarjeta.

Será bueno tener una muestra de datos aquí.

Si esto ayuda y resuelve el problema, apreciar un Kudos y marcarlo como una solución! 🙂

Gracias

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

@Pragati11 Thansk para su respuesta,

No soy capaz de adjuntar el archivo pbi, pero he adjuntado disparo rápido,

considere que hay dos columnas país y fechas, si hago clic en el mapa del país, entonces sólo la fecha debe dispensar en la tarjeta, de lo contrario esto debe mostrarse como en blanco.datepcd.PNG

Hola @Naveen_SV ,

Puede crear una medida de la siguiente manera:

nuevo Comprobación 1 - var total - CALCULATE(COUNT(Table[Date]), ALL(Table[Date])) RETURN IF(HASONEVALUE(Table[Date]), SELECTEDVALUE(Table[Date]), BLANK())
Mueva esta medida al objeto visual de la tarjeta.
Si esto ayuda y resuelve el problema, apreciar un Kudos y marcarlo como una solución! 🙂
Gracias
Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

HOLA @Pragati11

esto era bueno para un valor, ¿qué tal las fechas múltiples están allí si necesito mostrar las primeras fechas en eso.

eX :

dATE País

22/02/2020 India

24/03/2020 India

Hola @Naveen_SV ,

Puede modificar su DAX de la siguiente manera y probar:

nuevo Check 1 - var total - CALCULATE(COUNT(Table[Date]), ALL(Table[Country])) RETURN IF(HASONEVALUE(Table[Date]), SELECTEDVALUE(Table[Date]), IF(COUNT(Table[Date]) > 1 && COUNT(Table[Date]) < total, MAX(Table[Date]), BLANK()))

Además, intente comprender la expresión DAX anterior, para que pueda modificarla usted mismo.

Si esto ayuda y resuelve el problema, apreciar un Kudos y marcarlo como una solución! 🙂

Gracias

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

@Pragati11 gracias, 🙂 funcionó

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.