cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
ianhyj
Regular Visitor

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

 

ianhyj_1-1652559785638.pngianhyj_2-1652559801054.pngianhyj_3-1652559820037.png

 

And the relationships among the 3 tables look like this

ianhyj_6-1652559965885.png

 

 

I also created a measure which is calculated like this

ianhyj_5-1652559935076.png

 

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

ianhyj_7-1652560057824.png

 

 

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?

 

ianhyj_0-1652559751025.png

 

Thank you all so very much. 

1 ACCEPTED SOLUTION
johnt75
Super User
Super User

Try

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

View solution in original post

2 REPLIES 2
ianhyj
Regular Visitor

Hi @johnt75 ,

 

Thank you so much!

johnt75
Super User
Super User

Try

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

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors