Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
XML
data.xmlanalysis
mappoint.webservice
msf
msxml-webrelease
netmyservices.sdk
passport.sdk
soap
soapsdk
uddi.general
uddi.programming
uddi.specification
xml
xmlsqlwebrelease
xsl
  
 
date: 16 Aug 2005 08:12:45 -0700,    group: microsoft.public.data.xmlanalysis        back       


Wild card Searching in Dimension   
Can i do Wild card search in dimension? or is there any way to search
members starting from any specific Character ?


For Example :


querying for : a%  or a*


It will give me all the members in the specified dimension starting
with character 'a'. or any string provided.


Thanks in advance 


Faraz
date: 16 Aug 2005 08:12:45 -0700   author:   Faraz

Re: Wild card Searching in Dimension   
You can do something like:
    SELECT Filter( level.members, instr(hierarchy.currentmember.caption,
expression) >= 0 ) ...
The VBA functions can give you the wild card type functionality that you are
looking for. Note that this may not be very efficient for large amounts of
data...

Thanks,
Akshai
--
This posting is provided "AS IS" with no warranties, and confers no rights
Please do not send email directly to this alias. This alias is for newsgroup
purposes only.

"Faraz"  wrote in message
news:1124205165.240273.185400@z14g2000cwz.googlegroups.com...
> Can i do Wild card search in dimension? or is there any way to search
> members starting from any specific Character ?
>
>
> For Example :
>
>
> querying for : a%  or a*
>
>
> It will give me all the members in the specified dimension starting
> with character 'a'. or any string provided.
>
>
> Thanks in advance
>
>
> Faraz
>
date: Tue, 16 Aug 2005 16:35:31 -0700   author:   Akshai Mirchandani [MS]

Re: Wild card Searching in Dimension   
I think the result the this MDX will return me all the members
containing the Expression . I want to get all the members starting with
the expression

Akshai Mirchandani [MS] wrote:
> You can do something like:
>     SELECT Filter( level.members, instr(hierarchy.currentmember.caption,
> expression) >= 0 ) ...
> The VBA functions can give you the wild card type functionality that you are
> looking for. Note that this may not be very efficient for large amounts of
> data...
>
> Thanks,
> Akshai
> --
> This posting is provided "AS IS" with no warranties, and confers no rights
> Please do not send email directly to this alias. This alias is for newsgroup
> purposes only.
>
> "Faraz"  wrote in message
> news:1124205165.240273.185400@z14g2000cwz.googlegroups.com...
> > Can i do Wild card search in dimension? or is there any way to search
> > members starting from any specific Character ?
> >
> >
> > For Example :
> >
> >
> > querying for : a%  or a*
> >
> >
> > It will give me all the members in the specified dimension starting
> > with character 'a'. or any string provided.
> >
> >
> > Thanks in advance
> >
> >
> > Faraz
> >
date: 19 Aug 2005 00:44:41 -0700   author:   Faraz

Re: Wild card Searching in Dimension   
Use Instr = 0 then (or Left)...

Thanks,
Akshai

-- 
--
This posting is provided "AS IS" with no warranties, and confers no rights
Please do not send email directly to this alias. This alias is for newsgroup
purposes only.


"Faraz"  wrote in message
news:1124437481.156283.295480@z14g2000cwz.googlegroups.com...
>
> I think the result the this MDX will return me all the members
> containing the Expression . I want to get all the members starting with
> the expression
>
> Akshai Mirchandani [MS] wrote:
> > You can do something like:
> >     SELECT Filter( level.members, instr(hierarchy.currentmember.caption,
> > expression) >= 0 ) ...
> > The VBA functions can give you the wild card type functionality that you
are
> > looking for. Note that this may not be very efficient for large amounts
of
> > data...
> >
> > Thanks,
> > Akshai
> > --
> > This posting is provided "AS IS" with no warranties, and confers no
rights
> > Please do not send email directly to this alias. This alias is for
newsgroup
> > purposes only.
> >
> > "Faraz"  wrote in message
> > news:1124205165.240273.185400@z14g2000cwz.googlegroups.com...
> > > Can i do Wild card search in dimension? or is there any way to search
> > > members starting from any specific Character ?
> > >
> > >
> > > For Example :
> > >
> > >
> > > querying for : a%  or a*
> > >
> > >
> > > It will give me all the members in the specified dimension starting
> > > with character 'a'. or any string provided.
> > >
> > >
> > > Thanks in advance
> > >
> > >
> > > Faraz
> > >
>
date: Mon, 29 Aug 2005 14:00:03 -0700   author:   Akshai Mirchandani [MS]

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us