Quantcast
Channel: SQLServerCentral » Data Warehousing » Analysis Services » Latest topics
Viewing all articles
Browse latest Browse all 1341

get an average value with filters

$
0
0
i'm learning 2012 analysis services. i set up a test server with the tabular model.for my first project i have a combined backupset from the msdb database from different servers with our entire backup history going back many yearsi'm trying to create a measure to get an average value of the backup_size column but with filters depending on the server name and maybe the database namei tried this and it didn't work. [code="sql"]=average('dimbackupdata'[backup_size]), ('dimbackupdata'[server_name]="server-name"))[/code]is this possible in tabular? or should i go and try to do this in Multidimensional?

Viewing all articles
Browse latest Browse all 1341

Trending Articles