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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Luca2020
Helper I
Helper I

Summarize using column from other table

Hi, 

I've a table - CRM PREVENTIVI - with a list of Items and a table - TEMPI DI PRODUZIONE - with the month (or months) when those Items were made. 

 

I need a new table with all the Items and the months of production like: 

 

Table = SUMMARIZE('CRM PREVENTIVI' ; 'CRM PREVENTIVI'[Item]; "Month"; LOOKUPVALUE('*TEMPI PRODUZIONE'[Month]; '*TEMPI PRODUZIONE'[Item]; 'CRM PREVENTIVI'[Item]))
 
Table: 
ITEM  MONTH
1       January
2       January
2      February
 
I need this table because not all the Items we sell are made by us, some of them we just buy and resell so not all of them are included in TEMPI DI PRODUZIONE. I cannot use summarize(TEMPI DI PRODUZIONE; ....) because of this reason. I need summarize(CRM PREVENTIVI, ....) to include them all.
 
I've tried to create two different tables with summarize and then use UNION, It worked perfectly but when I tried to create a relation between this new union table and CRM PREVENTIVI, a message told me I could not because of a circular dependence
 
Thanks!
1 REPLY 1
Anonymous
Not applicable

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.