Forum Discussion
webportal
Impactful Individual
9 years agoError in SAMEPERIODLASTYEAR
When adding the following measure: valor_líquido_ano_anterior = CALCULATE(SUM('order'[valor_líquido]);SAMEPERIODLASTYEAR('calendário'[data])) to the matrix: I get the error: ...
webportal
Impactful Individual
9 years agoThe date is field is "Date" type and the measure is "Decimal Number".
vanessafvg
Community Champion
9 years ago
i think the issue might be the bidirectional relationship, if you change it to single, does it still give you teh same issue?
- webportal9 years ago
Impactful Individual
vanessafvg same error, single or bi-directional.
- vanessafvg9 years ago
Community Champion
webportal maybe this thread can help?
https://community.powerbi.com/t5/Desktop/Contiguous-date-selection-error-YTD-LY/td-p/55789