Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Create table with 2 dimension from 2 table and a measure value

Hello All,

 

I have 3 simple tables (2 Dim tables and 1 fact table) that look like below

 

 

And the relationships among the 3 tables look like this

 

 

I also created a measure which is calculated like this

 

I am trying to create a new datatable via DAX that has informaiton for jurisdiction, year and the measure, kinda look like this

 

 

I am able to create this in the dashboard with visualizaitons, but when I try to create this with dax, I got the error message below. Could you help me explain why this is happening and how can I achieve what I intended with DAX?

 

 

Thank you all so very much. 

  • Try

    New Table = SUMMARIZECOLUMNS( 'Dim Jurisdiction'[Jurisdiction], 'DimYear'[Tax Year], "Measure %", [Measure %])

2 Replies

  • Try

    New Table = SUMMARIZECOLUMNS( 'Dim Jurisdiction'[Jurisdiction], 'DimYear'[Tax Year], "Measure %", [Measure %])