The report consists of two Data Providers, with links to Sales order id and Line item num.
Query 1 is the main query.
Query 2 is linked to the main query on the above two fields.
I am trying to create a report from Query1 and Query2. I am able to add few fields from Query 2. But when I add other fields from Query 2 I get the error Variable not compatible.
You cannot add all the fields from query2. You can add the measure objects but not all the dimension objects. You can add only those dimension objects which are linked to the dataprovider (Query1 in your case).