Hi,
I have two queries. There are date dimension object both of them. One of them (Query1) include all days in a week, other (Query2) can exclude Saturday and Holiday Days according to the prompt date asked to users.
I want to ask two question to you.
1) I write a formula for variable_sales = SUM ([Sales(Query1)] In ([Day(Query1)]))
But it did not give correct value when I choose "Saturday is not include" in prompt. It should be 86.933 in below scenerio when Saturday is not include. (30.04.2016 is Saturday)
Should I write another formula, do you have anysuggest?
![1.JPG]()
2) My second question is
By using same two queries, I have below table.
My Dimensions :Region (Query2), Month(Query2), Sales_Code (Query1)
My Measure :Sales (Query1)
There are dirills on Region and Month object.
Hierarchy is Region -> City
Month -> Day
I am combining Query2 dimensions (Region and Month) with Query1 dimension (Sales_Code) and measure (Sales) in CrossTable.
Remember: Query2 can exclude Saturday and Holidays, Query1 includes all days.
I am using Query2 data because of eliminating Saturdays. I am using Query1 to get Sales data.
Crosstable with month data is not correct. It brings Saturday data too. When I drill to day, It does not bring Saturday that I want to make it to be.
Do you have any suggestion?
![2.jpg]()
Regards,
Cihangir