dbTalk Databases Forums  

Filter Measures by last day per customer???

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


Discuss Filter Measures by last day per customer??? in the microsoft.public.sqlserver.olap forum.



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

Default Filter Measures by last day per customer??? - 09-03-2003 , 08:36 AM






Please someone help,

Need to show (and sum up) only the last day per customer for all
measures. I've tried among others the

Tail(Filter([TIEMPO].CurrentMember.Children,(NOT
IsEmpty([Measures].CurrentMember)))).Item(0)

approach without results.

Has somebody got a clue? Thanks in advance.

Reply With Quote
  #2  
Old   
Ian Russell
 
Posts: n/a

Default Re: Filter Measures by last day per customer??? - 09-04-2003 , 12:00 PM






try:
Tail(
Filter(
[TIEMPO].CurrentMember.Children
,Val([Measures].CurrentMember) > 0
)
).Item(0)

myhhunt (AT) hotmail (DOT) com (Paul Rex) wrote in message news:<98350326.0309030536.4c032acb (AT) posting (DOT) google.com>...
Quote:
Please someone help,

Need to show (and sum up) only the last day per customer for all
measures. I've tried among others the

Tail(Filter([TIEMPO].CurrentMember.Children,(NOT
IsEmpty([Measures].CurrentMember)))).Item(0)

approach without results.

Has somebody got a clue? Thanks in advance.

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.