dbTalk Databases Forums  

Date filter in mdx filter

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss Date filter in mdx filter in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
shyju
 
Posts: n/a

Default Date filter in mdx filter - 07-05-2005 , 02:24 AM






i have some calculated members and dimensions etc. in aquery based on a cube.
but i want to filter it dynamically by date range. suppose the user selected
a date range, the query should be in the selected date range (eg: 'trndate
between this and that'). how can i achieved in this in mdx?

thanx in advance for help

Reply With Quote
  #2  
Old   
pras
 
Posts: n/a

Default Re: Date filter in mdx filter - 07-08-2005 , 03:19 AM






You can have calculated members like
Current Month, Prior Month calculated members which uses Lastperiods
function and Time.currentmember and Time.prevmember to show the results
dynamically based on the Time dimension selection

Regards
Prasanna


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.