![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
|
Hi Peepak You were right. In order to localise the Cube I had renamed the [All] level. When I used the localised name I got it to work, but only at the "Year" level. The "Quarter","Month" and "Day" levels all return empty results for "CasesClosed". I guess it is the LinkMember function that goes wrong. I have build the 2 time dimension based on the same Timetable (one on the table itself and one on a view based on the table) so the 2 time dimensions should be equal. Do you have an idea why it only works on the "Year" level? Thanks for your help, I really appreciate it. -Henrik. "Deepak Puri" <deepak_puri (AT) progressive (DOT) com> skrev i en meddelelse news:OubNGUwFFHA.3608 (AT) TK2MSFTNGP14 (DOT) phx.gbl... Hi Henrik, [CasesOpened] would be a new calculated member, and no sum should be necessary. I assumed that each of your Date dimensions has a top [All] level above [Year], and that [All ClosingDate] is the member at that level (just like in the Foodmart [Customers] dimension, there is an [All Customers] member at the top). But the error suggests that either the [All] member of [ClosingDate] has another name, or there is no [All] level. Can you clarify the top levels of [ClosingDate]? - Deepak Deepak Puri Microsoft MVP - SQL Server *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! |
#4
| |||
| |||
|
|
For this, create a view for OpenCaseCount and another view for CloseCaseCount. |
|
I understand there are one CaseCount regular measure, OpenDate dimension and ClosingDate dimension. This is another idea. How about having OpenCaseCount and CloseCaseCount respectively as regular measures diretly from fact table. And, only one Time dimension. I think this is simpler. For this, create a view for OpenCaseCount and another view for CloseCaseCount. Next create each cube for each measure and create a virtual cube based on the two cubes. Ohjoo Kwon www.olapforum.com "Henrik Hj?lund" <hjoellund (AT) mail (DOT) tele.dk> wrote in message news:cv9mvg$d6e$1 (AT) news (DOT) cybercity.dk... Hi Peepak You were right. In order to localise the Cube I had renamed the [All] level. When I used the localised name I got it to work, but only at the "Year" level. The "Quarter","Month" and "Day" levels all return empty results for "CasesClosed". I guess it is the LinkMember function that goes wrong. I have build the 2 time dimension based on the same Timetable (one on the table itself and one on a view based on the table) so the 2 time dimensions should be equal. Do you have an idea why it only works on the "Year" level? Thanks for your help, I really appreciate it. -Henrik. "Deepak Puri" <deepak_puri (AT) progressive (DOT) com> skrev i en meddelelse news:OubNGUwFFHA.3608 (AT) TK2MSFTNGP14 (DOT) phx.gbl... Hi Henrik, [CasesOpened] would be a new calculated member, and no sum should be necessary. I assumed that each of your Date dimensions has a top [All] level above [Year], and that [All ClosingDate] is the member at that level (just like in the Foodmart [Customers] dimension, there is an [All Customers] member at the top). But the error suggests that either the [All] member of [ClosingDate] has another name, or there is no [All] level. Can you clarify the top levels of [ClosingDate]? - Deepak Deepak Puri Microsoft MVP - SQL Server *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! |
#5
| ||||||
| ||||||
|
| Chris Webb [MS] Dec 3 2002, 12:06 am show options |
|
I'm trying to use Linkmember() to return the same dimension value in a different hierarchy. For example: (linkmember([Calendar Date].currentmember,[Fiscal Time]).lead(1),[Measures].[Dollars]) would return Dollars for Fiscal Time |
|
period forward from the Calendar Time. currentmember. Both Time dimensions are exactly the same (levels, members..) For reasons unknown it only works for the year level (levels are All, Year, Quarter, Month, Day). I need it to work for any level choosen(currentmember). Am I missing something obvious? |
|
Any help is GREATLY Appreciated! |
|
-Thanks in advance, Dave |
|
David Fateman dfate... (AT) memberworks (DOT) com |
#6
| |||
| |||
|
|
Hi I have implemented the "2 cubes, one time dimension" solution and it works really fine. I have even used the same "user" dimension to distinquish between the person who started the case and the person who closed it. I build the "closing" cube on a view based on the fact table from the "open" cube adding a where clause saying "closetime is not null". I think the solution with the LinkMember would have turned out fine as well, but there was no way I could get it to work below the "Year" level... Still wonder.... Thanks for your help -Henrik. "Ohjoo Kwon" <ojkwon (AT) olap (DOT) co.kr> skrev i en meddelelse news:OLI7b80FFHA.3312 (AT) TK2MSFTNGP15 (DOT) phx.gbl... For this, create a view for OpenCaseCount and another view for CloseCaseCount. If you consider my idea, I think current fact table is still enough to create the two cubes. "Ohjoo Kwon" <ojkwon (AT) olap (DOT) co.kr> wrote in message news:uOvPZK0FFHA.1392 (AT) tk2msftngp13 (DOT) phx.gbl... I understand there are one CaseCount regular measure, OpenDate dimension and ClosingDate dimension. This is another idea. How about having OpenCaseCount and CloseCaseCount respectively as regular measures diretly from fact table. And, only one Time dimension. I think this is simpler. For this, create a view for OpenCaseCount and another view for CloseCaseCount. Next create each cube for each measure and create a virtual cube based on the two cubes. Ohjoo Kwon www.olapforum.com "Henrik Hj?lund" <hjoellund (AT) mail (DOT) tele.dk> wrote in message news:cv9mvg$d6e$1 (AT) news (DOT) cybercity.dk... Hi Peepak You were right. In order to localise the Cube I had renamed the [All] level. When I used the localised name I got it to work, but only at the "Year" level. The "Quarter","Month" and "Day" levels all return empty results for "CasesClosed". I guess it is the LinkMember function that goes wrong. I have build the 2 time dimension based on the same Timetable (one on the table itself and one on a view based on the table) so the 2 time dimensions should be equal. Do you have an idea why it only works on the "Year" level? Thanks for your help, I really appreciate it. -Henrik. "Deepak Puri" <deepak_puri (AT) progressive (DOT) com> skrev i en meddelelse news:OubNGUwFFHA.3608 (AT) TK2MSFTNGP14 (DOT) phx.gbl... Hi Henrik, [CasesOpened] would be a new calculated member, and no sum should be necessary. I assumed that each of your Date dimensions has a top [All] level above [Year], and that [All ClosingDate] is the member at that level (just like in the Foodmart [Customers] dimension, there is an [All Customers] member at the top). But the error suggests that either the [All] member of [ClosingDate] has another name, or there is no [All] level. Can you clarify the top levels of [ClosingDate]? - Deepak Deepak Puri Microsoft MVP - SQL Server *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! |
![]() |
| Thread Tools | |
| Display Modes | |
| |