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
HenryJS
Post Prodigy
Post Prodigy

IF Fechas menores que o en blanco

Hola a todos

¿Cómo puedo crear una columna/medida que dice lo siguiente:

IF [Combined Business Insurance Policy] está en blanco o menos que hoy en día

Retorno "Seguro Desaparecido"

O

IF [Política de Seguro de Indemnización Profesional] Y [Seguro de Responsabilidad Pública] está en blanco o menos que hoy en día

Retorno "Seguro Desaparecido"

Capture.PNG

7 REPLIES 7
v-deddai1-msft
Community Support
Community Support

Hola @HenryJS ,

Por favor, intente la siguiente columna calculada, funcionará:

Column =
IF (
    ISBLANK ( 'Table'[Combined Business Insurance Policy] )
        || 'Table'[Combined Business Insurance Policy] < TODAY (),
    "Insurance Missing",
    IF (
         (
            'Table'[Proffesional Indemnity Insurance Policy] < TODAY ()
                || ISBLANK ( 'Table'[Proffesional Indemnity Insurance Policy] )
        )
            && (
                'Table'[Public Liability Insurance] < TODAY ()
                    || ISBLANK ( 'Table'[Public Liability Insurance] )
            ),
        "Insurance Missing",
        BLANK ()
    )
)

Si este post ayuda, entonces considera Aceptarlo como la solución para ayudar a los otros miembros a encontrarlo más rápidamente.

Saludos

Dedmon Dai

v-deddai1-msft
Community Support
Community Support

Por favor, pruebe mi fórmula de edición anterior de nuevo.

@v-deddai1-msft no está bien,

si el seguro combinado está allí y más grande hoy en día, entonces el seguro no debe faltar

si profesional y público están allí y más grande hoy en día, entonces el seguro no debe faltar

Capture.PNG

v-deddai1-msft
Community Support
Community Support

Hola @HenryJS ,

Por favor, intente utilizar la siguiente medida:

Column = SWITCH (
TRUE (),
ISBLANK ( 'Table'[Combined Business Insurance Policy] )
|| 'Table'[Combined Business Insurance Policy] < TODAY (), "Insurance Missing",
(
'Table'[Proffesional Indemnity Insurance Policy] < TODAY ()
|| ISBLANK ( 'Table'[Proffesional Indemnity Insurance Policy] )
)
&& (
'Table'[Public Liability Insurance] < TODAY ()
|| ISBLANK ( 'Table'[Public Liability Insurance] )
), "Insurance Missing",
BLANK ()
)

Si este post ayuda, entonces considera Aceptarlo como la solución para ayudar a los otros miembros a encontrarlo más rápidamente.

Saludos

Dedmon Dai

@v-deddai1-msft que no funciona de forma imprenta, ya que los campos de seguro son columnas no medidas

amitchandak
Super User
Super User

@HenryJS , Probar como


Switch( True(),
isblank([Combined Business Insurance Policy]) [Póliza de Seguro de Negocios Combinado] < today() , "Seguro Desaparecido",
[Política de seguro de indemnización profesional] < today() && [Seguro de responsabilidad civil] < today() ,"Seguro faltante",
blank())

@amitchandak no tirar correctamente

tiene que ser

IF [Combined Business Insurance Policy] está en blanco o menos que hoy en día

Retorno "Seguro Desaparecido"

O

IF [Política de Seguro de Indemnización Profesional] Y [Seguro de Responsabilidad Pública] está en blanco o menos que hoy en día

Retorno "Seguro Desaparecido"

O si

Capture.PNG

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.