Quantcast
Channel: All Developer posts
Viewing all articles
Browse latest Browse all 49890

adding a FILTER function, using an inclusive range in a subselect

$
0
0

here is my current code and im very new to MDX and playing ard.

 

SELECTNONEMPTY { [Measures].[Affiliations Count], [Measures].[Practitioners Count] } ONCOLUMNS,

 NONEMPTY { ([Associations].[Network].[Network].ALLMEMBERS * [Associations].[Health Plan].[Health Plan].ALLMEMBERS ) } DIMENSIONPROPERTIESMEMBER_CAPTION, MEMBER_UNIQUE_NAMEONROWS

 

 FROM ( SELECT ( STRTOSET("[All]", CONSTRAINED) ) ONCOLUMNS

 FROM ( SELECT ( { [Associations].[Record Type].&[Practitioner] } ) ONCOLUMNS

 FROM ( SELECT ( -{ [Associations].[Health Plan].&[] } ) ONCOLUMNS

 FROM ( SELECT ( { [Affiliations].[Affiliation Par].&[True] } ) ONCOLUMNS

 FROM ( SELECT ( { [Affiliations].[Affiliation Incomplete].&[False] } ) ONCOLUMNS

 FROM ( SELECT ( { [Affiliations].[Affiliation Active].&[True] } ) ONCOLUMNS

 FROM [FusionCore]))))))

 

 WHERE ( [Affiliations].[Affiliation Active].&[True],

 [Affiliations].[Affiliation Incomplete].&[False],

 [Affiliations].[Affiliation Par].&[True],

 [Associations].[Record Type].&[Practitioner],

 

IIF( STRTOSET("[All]", CONSTRAINED).Count = 1, STRTOSET("[All]", CONSTRAINED), [Associations].[Corporate Plan].currentmember ) )

 CELLPROPERTIESVALUE, BACK_COLOR, FORE_COLOR, FORMATTED_VALUE, FORMAT_STRING, FONT_NAME, FONT_SIZE, FONT_FLAGS

 

I have been trying to add a filter funtion or date range in subselect, but not able to achieve or get what i want.

How can I add a line to handle a date range from today through 30 days from now forward? 

 


Viewing all articles
Browse latest Browse all 49890

Trending Articles



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