In an analysis, we are counting number of all loaned items by their interest rate. It uses one fact table F1 and three dimension tables D1, D2 and D3. F1 is joined to all these three dimension tables. Therefore, as I see it there shouldn't be any complicated query generated to get the result.
However, when running the analysis, counts are returning 0s. In database, I looked at physical queries generated for this analysis and saw that two selects are being created and another fact table F2 is being used in 2nd select.
Strange thing is that F2 is not used in an analysis, its columns are not selected in criteria tab, no LTS exists to this table from F1, D1,D2 or D3. One thing that is common is that this F2 is also joined to D1, D2 and D3. But why use F2 in query if it is not selected in analysis, do you have any ideas?
Here is what we have in BMM:
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…