Forum Discussion
GermanCabrera
6 years agoNew 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_Pedid...
- 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
amitchandak
Super User
6 years agoTry 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