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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.