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
Syndicate_Admin
Administrator
Administrator

¿Cómo filtrar automáticamente la última fecha disponible en un dato?

Hola

¿Alguien que sepa crear un cálculo en el que la fecha más reciente y sus datos solo aparecerán en una página?

¡Gracias!

https://drive.google.com/file/d/1N7fl0SMrgOKRS8IYJauaqm8X1wJNXKxt/view?usp=sharing

1 ACCEPTED SOLUTION
Syndicate_Admin
Administrator
Administrator

No @jovendeluna21 ,

Una columna calculada para obtener la fecha más reciente hará el truco.

Fórmula DAX:

Latest_date_column = IF(Vaccination[Record Date] = MAX(Vaccination[Record Date]), "Latest Date", FORMAT(Vaccination[Record Date], "MM-DD-YYYY"))

Lógica implementada en el archivo presente aquí

Gracias

Apreciamos sus🙂

View solution in original post

5 REPLIES 5
Syndicate_Admin
Administrator
Administrator

No @jovendeluna21 ,

Una columna calculada para obtener la fecha más reciente hará el truco.

Fórmula DAX:

Latest_date_column = IF(Vaccination[Record Date] = MAX(Vaccination[Record Date]), "Latest Date", FORMAT(Vaccination[Record Date], "MM-DD-YYYY"))

Lógica implementada en el archivo presente aquí

Gracias

Apreciamos sus🙂

Gracias @PC2790 ! ¡Agradezco su ayuda! 🙂

Syndicate_Admin
Administrator
Administrator

Hola @jovendeluna21

Muchas maneras de hacerlo, creo que más fácil sería en su PowerQuery crear una columna calculada que identifica la fecha más reciente y etiqueta "Más reciente" tal vez.

A continuación, en su página aplicar el filtro "Más reciente", debe resolver el propósito. Por favor, comparta más detalles si no funciona.

¿cómo puedo identificar eso? alguna fórmula sugerida? ¡Gracias!

@jovendeluna21

Si desea identificar en PowerQuery, este vínculo podría ser útil - https://stackoverflow.com/questions/50457881/how-to-find-the-most-current-date-from-a-column-in-powe...

En el entorno DAX también, puede probar MAX().

La esperanza anterior tiene sentido.

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.