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
GermanCabrera
New Member

Dax

Hola

Alguien sabe como otener la fecha actual cuando la fecha máxima es nulo o en blanco.

Aqui la fórmula: Fecha Sistema = Max( 'dsl com_Pedido'[FechaSistema] )

Si esto Max( 'dsl com_Pedido'[FechaSistema] ) es nulo o blanco que se le asigne la fecha actual:

Ya probe con: Fecha Sistema = If( Max( 'dsl com_Pedido'[FechaSistema] )=Blank(),

2 ACCEPTED SOLUTIONS
amitchandak
Super User
Super User

@GermanCabrera ,

Pruebe uno de los dos

fusesce(Max ('dsl com_Order' [SystemDate]), today())
MaxX (filter('dsl com_Order',not(isblank('dsl com_Order' [SystemDate]))),'dsl com_Order' [SystemDate] )

El 25 de abril estoy organizando un seminario web en Power BI, Comprobar detalles - https://www.linkedin.com/posts/amitchandak78_webinar-tech-techforgood-activity-6658266754378231808-y...

View solution in original post

v-yiruan-msft
Community Support
Community Support

Hola @GermanCabrera ,

Por favor, pruebe la siguiente fórmula para su medida:

Measure = IF(TRIM(MAX('dsl com_Pedido'[FechaSistema]))=""||ISBLANK(MAX('dsl com_Pedido'[FechaSistema])),TODAY(),MAX('dsl com_Pedido'[FechaSistema]))

current date.JPG

Saludos

Rena

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-yiruan-msft
Community Support
Community Support

Hola @GermanCabrera ,

Por favor, pruebe la siguiente fórmula para su medida:

Measure = IF(TRIM(MAX('dsl com_Pedido'[FechaSistema]))=""||ISBLANK(MAX('dsl com_Pedido'[FechaSistema])),TODAY(),MAX('dsl com_Pedido'[FechaSistema]))

current date.JPG

Saludos

Rena

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
amitchandak
Super User
Super User

@GermanCabrera ,

Pruebe uno de los dos

fusesce(Max ('dsl com_Order' [SystemDate]), today())
MaxX (filter('dsl com_Order',not(isblank('dsl com_Order' [SystemDate]))),'dsl com_Order' [SystemDate] )

El 25 de abril estoy organizando un seminario web en Power BI, Comprobar detalles - https://www.linkedin.com/posts/amitchandak78_webinar-tech-techforgood-activity-6658266754378231808-y...

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.