Forum Discussion
webportal
9 years agoImpactful Individual
Error 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: ...
vanessafvg
9 years agoCommunity Champion
what is your data type?
webportal
9 years agoImpactful Individual
The date is field is "Date" type and the measure is "Decimal Number".
- vanessafvg9 years agoCommunity Champion
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 agoImpactful Individual
vanessafvg same error, single or bi-directional.
- vanessafvg9 years agoCommunity Champion
webportal maybe this thread can help?
https://community.powerbi.com/t5/Desktop/Contiguous-date-selection-error-YTD-LY/td-p/55789