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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Adding calculated columns from 3 different tables to a new table

I currently have 1 calculated column from 3 separate tables that I want to bring into a new table, but PBI isn't allowing me to reference calculated columns. All three tables are share unique department names and a department ID numbers. Each table also shares this calculated column and are the columns I want to bring to a new table. How do I bring this column from each table to a new one?

 

Weighted Dept = SWITCH (
TRUE (),
Data[ZPPA] <= 100
&& Data[ZPPA] >= 1.996, "40",
Data[ZPPA] <= 1.996
&& Data[ZPPA] >= 1.552, "40",
Data[ZPPA] <= 1.552
&& Data[ZPPA] >= 1.108, "35.52",
Data[ZPPA] <= 1.108
&& Data[ZPPA] >= 0.664, "31.08",
Data[ZPPA] <= 0.664
&& Data[ZPPA] >= 0.22, "26.64",
Data[ZPPA] <= 0.22
&& Data[ZPPA] >= -0.224, "22.2",
Data[ZPPA] <= -0.224
&& Data[ZPPA] >= -0.668, "17.76",
Data[ZPPA] <= -0.668
&& Data[ZPPA] >= -1.112, "13.32",
Data[ZPPA] <= -1.112
&& Data[ZPPA] >= -1.556, "8.88",
Data[ZPPA] <= -1.556
&& Data[ZPPA] >= -2, "4.44",
Data[ZPPA] <= -2
&& Data[ZPPA] >= -100, "4.44",
"999999"
)
1 REPLY 1
amitchandak
Super User
Super User

@Anonymous , Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.