Measure or Calculate Column


hi,

  have 2 table pull data navision financial system,1 detail ( name "income statement") , 1 total account only.

foe example, account 11000~11880 cash account , 11898 11000~11880 total. detail table include 11000~11880, , total table has 11898 only.

for now, in tabular, can create measure like #11898 := calculate(sum([net charge]),  filter('income statement', 'income statement'[acctno] >= "11000" && 'income statement'[acctno] <= "11890")) . how create "calculate column" in total table of column 11898  ?

thanks!!


james liang

hi james,

in scenario, this many 1 relationship, supposes have column link detail table , total table. can create calculated column in total table like:

= calculate(sum(detail[net charge]),filter(detail,detail[linkcolumn]=related(total[linkcolumn])))

regards,


simon hou
technet community support




SQL Server  >  SQL Server Analysis Services



Comments

Popular posts from this blog

Conditional formatting a graph vertical axis in SSRS 2012 charts

Register with Power BI failed

SQL server replication error Cannot find the dbo or user defined function........