Forum Discussion
pvaldiviag
10 years agoNew Member
Problems with SAMEPERIODLASTYEAR
Hello, I'm using this formula. ROE = CALCULATE(SUM([Monto]),'Terminos Financieros'[TF_id]=17,DATESINPERIOD(Tiempo[Fecha],LASTDATE(Tiempo[Fecha_fin]),-12,MONTH))
/ IF(HASONEVALUE(Tiempo[Year]),(...
Sean
10 years agoCommunity Champion
pvaldiviag Infinity show up when you divide by blank
instead of / => Try using the DIVIDE funcion like this => DIVIDE ( [numerator], [denominator], 0)
This should take care of it - if otherwise the formula works fine!
- pvaldiviag10 years agoNew Member
Hey,
Thanks for the quick answer.
The solution you provided works partially. It now shows a BLANK value.
I'm trying to show the same value as the image I provided.
I hope there's a solution for this :(
Greetings,
- Sean10 years agoCommunity Champion
pvaldiviag to get rid of a Blank in the Card - you have to surround it with IF ( ISBLANK (...
=> IF ( ISBLANK(expression), 0, expression)