Thank you Ponnusamy for your answer ,
but i think my problem is a little different as i get the exchange rate from a different query that i used to get the main block and the error i got is #context error not the #unavailable which means that
the context for the measure which is the multiplication of the value by the rate is different because of they are not related to the same datasource .