Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hola
Me gustaría poder tener una función IF dentro de una medida que me permita llamar a otra medida si es antes de hoy y otra si es después de hoy. ¿Es posible hacer esto y si es así cómo?
La lógica es esencialmente = if( Calander[Fecha] <= Hoy() , Suma acumulada , Previsión )
Cualquier ayuda será apreciada.
saludos
Shaun
Solved! Go to Solution.
if( max(Calander[Fecha]) < Today() , [Suma acumulada], [Previsión] )
O
calculate([Suma acumulada], filtro(Calander, Calander[Fecha] < Hoy() )) + calculate([Forecast] , filter(Calander, Calander[Date] >= Today() ))
if( max(Calander[Fecha]) < Today() , [Suma acumulada], [Previsión] )
O
calculate([Suma acumulada], filtro(Calander, Calander[Fecha] < Hoy() )) + calculate([Forecast] , filter(Calander, Calander[Date] >= Today() ))