Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
jojo_jacob
Starting Member
24 Posts |
Posted - 2004-06-21 : 10:47:05
|
I have a time dimension used in all the cubes. While reporting, I would like to show the current date (or month or year) whatever the granularity be as the default filter for that dimension. How can we achieve this? I am not able to find out an MDX function which does this. Thanks in advance. |
|
rockmoose
SQL Natt Alfen
3279 Posts |
Posted - 2004-07-19 : 08:37:02
|
Hi,I see many people have read the post, and nobody replied so far.This Date stuff and getting the client to show the current date seems to be a common problem in AS.I have no ready solution, but maybe this idea might help:Use the VB functions Date, Now, CStr ... functions to format the datemember you want to filter on.Then use StrToMember("...MyFormattedDate...") to get a dimension member in the time dimension, and apply this as default filter./rockmoose |
|
|
|
|
|