on 02-23-2015 6:26 AM
Hi All
I am building a Universe using the Information Design Tool. In the Business Layer, I need to use a created Business Layer Dimension (not Table) in a Where clause of another Dimension as follow:
Dimension: "Current Week No"
SELECT:
budgets.dbo.Calenderweeks.WeekNo
WHERE:
budgets.dbo.Calenderweeks.EndDate = convert(SMALLDATETIME, {fn CURDATE()})
Dimension: "Last Week No"
SELECT:
budgets.dbo.Calenderweeks.WeekNo
WHERE:
budgets.dbo.Calenderweeks.WeekNo = @Select(Dimensions\Current Week No) -1
The First Dimension is working well. However, the "Last Week No" shows NOTHING (I.e. I do not get the any results from)
Anyone can explain why I am not getting results from the second Dimension and how I can use a Dimension/ Measure in a where clause of another Dimension/ Measure ?
Hello Ghadeer,
I would say that you may find better help in a BI forum.
BR, Bojan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.