I’m suffering a problem in my universe…I freshly created it and it’s based on an RDB model, not a star-scheme unfortunatelly.
I defined some contexts and alias’ed some tables in order to provide clean operation of the universe.
Today I started creating some reports and all went fine untill the measure (yes, ther’s only 1 numeric in the entire report) started multiplying its value from the moment I started adding more tables to the query…
So in the beginning I started from a quite simple query which only contained a table or 3-4…everything ok. Then I added more objects to the query that come from other tables… the dimension objects in the report remain perfect, it’s just the measure that multiplies
I looked around here and on the net and all I can find is that this seems related to chasm/fan trap…unfortunatelly I don’t see this trap in my universe…so my questions is => is this always related to a chasm/fan trap issue in the universe or can something else be responsible for my weird query behaviour?
I can’t immediately think of a reason for a measure to multiply other than a fan or chasm trap… unless you have a cartesian product. In that case, you would see a warning when you generate the SQL.
Not really. You can have a fan trap even with 1 measure. Imagine 3 tables, A, B, C:
A --< B --< C
If you have a measure from B and dimensions from A, C in the query then the measure is multiplied as many times as many occurrences of a key from the table B are present in the table C (assuming the join B.key=C.key)