Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Fabcon_Europe_Social_Bogo

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

Top Solution Authors