Quantcast
Channel: SQL Server Analysis Services forum
Viewing all articles
Browse latest Browse all 14337

Sytax help for multiple "statements" in a Named Set

$
0
0

I have two separate "statements" that I need combined to be in the same named set within BIDS. I'm having syntax issues. Here are both:

TAIL({NULL: StrToMember('[Date].[Year -  Quarter -  Month -  Date].[Month].['+VBA!Format(now(), 'MMMMM yyyy')+ ']').ITEM(0)}, 2) 

TAIL({NULL: PARALLELPERIOD([Date].[Year -  Quarter -  Month -  Date].[Year], 1, StrToMember('[Date].[Year -  Quarter -  Month -  Date].[Month].['+VBA!Format(now(), 'MMMMM yyyy')+ ']').ITEM(0))})

Help?


Viewing all articles
Browse latest Browse all 14337

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>