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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
Jeanxyz
Impactful Individual
Impactful Individual

summarize data from two dimension tables with no relationship

I want to create a summary table, which showed planned days (measure) based on project ID and year month. Below is my try, but it seems DAX doesn't allow for quoting two dimension tables with no relationship. 

 

 

Below is my try which doesn't work: 

error_table = generate(summarize(Dim_Project_All,Dim_Project_All[Project ID_adj],Dim_Project_All[Project Name_adj],[Project Hrs Per Day]), selectcolumns(calendar_slicer, "Year Month",'calendar_slicer'[Year Month Name]), "Planned Days", [remaining days_YM(M)])
 
this formula however works:
good_table = summarize(Dim_Project_All,Dim_Project_All[Project ID_adj],Dim_Project_All[Project Name_adj],[Project Hrs Per Day], "Planned Days", [remaining days_YM(M)])

 

 

1 ACCEPTED SOLUTION
Jeanxyz
Impactful Individual
Impactful Individual

solved! This works: 

test table = summarizecolumns(Dim_Project_All[Project ID_adj],Dim_Project_All[Project Name_adj],dim_project_all[Project Hrs Per Day], 'calendar_slicer'[YearMonth Name],"Planned Days",[remaining days_YM(M)])

View solution in original post

1 REPLY 1
Jeanxyz
Impactful Individual
Impactful Individual

solved! This works: 

test table = summarizecolumns(Dim_Project_All[Project ID_adj],Dim_Project_All[Project Name_adj],dim_project_all[Project Hrs Per Day], 'calendar_slicer'[YearMonth Name],"Planned Days",[remaining days_YM(M)])

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.