sql server 2012 - SSAS Dimension attribute as Calculated Measure -


i having issues trying implement average of dimension attribute.

the basic structure is:

  • booking header dimension
  • fact table (multiple rows per booking header entry)

on booking header dimension have numerical attribute called booking window, , want able create calculated measure averages value.

we using sql server 2012 standard edition.

any appreciated.

the best approach create measure group dimension table (in bids, go cube designer, tab "cube structure", right-click cube object in measures list, , select "new measure group", select dimension table). bids generate measures, , can remove two: 1 based on numeric attribute (i call "yoursummedattrib" have name refer below), , count measure. aggregate function measure "yoursummedattrib" "sum", leave is.

then, create calculated measure divides "yoursummedattrib" count measure, gives average. finally, if have tested everything, make 2 measures "yoursummedattrib" , count measure invisible before give cube users, need see average, calculated measure.


Comments

Popular posts from this blog

database - VFP Grid + SQL server 2008 - grid not showing correctly -

jquery - Set jPicker field to empty value -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -