Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Determinant in Framework Manager

Status
Not open for further replies.

seemap

Programmer
Aug 22, 2007
9
0
0
US
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

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top