1. I have one query subject
Column name:
Line of Business
Segment Name
Product Name
Product Region Name
State Code
Reporting Period
PCRV (Calculated column)
I have set determinant in this query subject as below:
Determinant, Key, Group By, Uniquely identifies, Attributes.
Line of Business, Line of Business, Yes, No, None
Reporting Period, Reporting Period, Yes, No, None
Product Region Name,Product Region Name, Yes, No, All of the above
2. I have joined this query subject to another query subject 1:1 join on Line of Business, Reporting Period and Product Region Name.
3. I then created a third query subject(view) adding all the columns from the first query subject and some other attributes and calculated columns from the second query subject.
4. The third query subject breaks giving the error message as
BMT-MD-0003 UDA-SQL-0460 A general exception has occurred during local processing.
UDA-EE-0094 The operation "subtract" is invalid for the following combination of data types: "varchar" and "integer"
RQP-DEF-0177 An error occurred while performing operation 'sqlPrepareWithOptions' status='-126'.
UDA-SQL-0460 A general exception has occurred during local processing.
UDA-EE-0094 The operation "subtract" is invalid for the following combination of data types: "varchar" and "integer"
5. However instead of adding all the columns from the first query subject if I only add ‘Line of Business’, ‘Reporting Period’, ‘Product Region Name’ and ‘PCRV(Fact)’ along with columns from second fact table then it works fine.
6. But I also need to add other columns from the first query subject.
How do I achieve that?
Any help highly appreciated.
Thanks
Column name:
Line of Business
Segment Name
Product Name
Product Region Name
State Code
Reporting Period
PCRV (Calculated column)
I have set determinant in this query subject as below:
Determinant, Key, Group By, Uniquely identifies, Attributes.
Line of Business, Line of Business, Yes, No, None
Reporting Period, Reporting Period, Yes, No, None
Product Region Name,Product Region Name, Yes, No, All of the above
2. I have joined this query subject to another query subject 1:1 join on Line of Business, Reporting Period and Product Region Name.
3. I then created a third query subject(view) adding all the columns from the first query subject and some other attributes and calculated columns from the second query subject.
4. The third query subject breaks giving the error message as
BMT-MD-0003 UDA-SQL-0460 A general exception has occurred during local processing.
UDA-EE-0094 The operation "subtract" is invalid for the following combination of data types: "varchar" and "integer"
RQP-DEF-0177 An error occurred while performing operation 'sqlPrepareWithOptions' status='-126'.
UDA-SQL-0460 A general exception has occurred during local processing.
UDA-EE-0094 The operation "subtract" is invalid for the following combination of data types: "varchar" and "integer"
5. However instead of adding all the columns from the first query subject if I only add ‘Line of Business’, ‘Reporting Period’, ‘Product Region Name’ and ‘PCRV(Fact)’ along with columns from second fact table then it works fine.
6. But I also need to add other columns from the first query subject.
How do I achieve that?
Any help highly appreciated.
Thanks