Forum Discussion
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(),
- Anonymous6 years ago
Hi GermanCabrera ,
Please try the following formula for your measure:
Measure = IF(TRIM(MAX('dsl com_Pedido'[FechaSistema]))=""||ISBLANK(MAX('dsl com_Pedido'[FechaSistema])),TODAY(),MAX('dsl com_Pedido'[FechaSistema]))Best Regards
Rena
2 Replies
- amitchandakSuper User
Try one of the two
coalesce(Max ('dsl com_Order' [SystemDate]), today())
MaxX (filter('dsl com_Order',not(isblank('dsl com_Order' [SystemDate]))),'dsl com_Order' [SystemDate] )I am hosting a webinar on 25th April on Power BI, Check Details - https://www.linkedin.com/posts/amitchandak78_webinar-tech-techforgood-activity-6658266754378231808-ye5L
- AnonymousNot applicable
Hi GermanCabrera ,
Please try the following formula for your measure:
Measure = IF(TRIM(MAX('dsl com_Pedido'[FechaSistema]))=""||ISBLANK(MAX('dsl com_Pedido'[FechaSistema])),TODAY(),MAX('dsl com_Pedido'[FechaSistema]))Best Regards
Rena