Who is online?  0 guests and 2 members
Home  »  Blogs  »  MarkGStacey: November 2011

Communifire Blogs

Blogs RSS Feed

MarkGStacey :November 2011 postings

MarkGStacey

Average Monthly calculations

11/23/2011 by MarkGStacey  -  Comments: 2  -  Views: [1533]

You’ll often be tempted to build a CASE WHEN Level calc to get an average monthly calc, but there’s an better way. You'll notice the error when using CURRENTMember and in the client tool doing a multi-select, it doesn't work because it doesn't have a single member to work against - this solution fixes this See below for an example against Adventure Works: with member Measures.MonthlySales as --CASE --WHEN --(EXISTING [Date].[Calendar].Members).Item(0).Level IS [Date].[Calendar].[Mont...

Read More

Page 1 of 1 (1 items)