Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Group By with condition

I have 2 dimension tables "dim1" and "dim2", both connected to a fact table, factTab. The columns in each table are as below:  (ID1 and ID2 are whole numbers used for relationship to factTab)   fa...
  • Greg_Deckler's avatar
    Greg_Deckler
    5 years ago

    Anonymous If you do the GROUPBY as shown, you should be able to reference [startDate], [endDate] and [TotalAmt] columns. You would not use any kind of prefix when referencing these columns.