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

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

Reply
SEPA
Frequent Visitor

Join/Merge two table and assign new value to category

Dear all,

 

i have an situvation were i need to join two tables and calculate value based on codition and fill the new value to another category.

 

SEPA_0-1669913788570.png

if you see the first table, i have kep 0 for the category "Sales Online" which i need do the sum of all lead_number count and do the sutraction where source key =10

 

any idea.... i have tried Switch but didnt help me..

 

Thanks

 

2 REPLIES 2
Anonymous
Not applicable

Hi @SEPA,

I think you can take a look at the following blog to create a formula based on calculated group if help with your scenario:

Matrix In Power BI Using Calculation Groups - Enterprise DNA

Regards,

Xiaoxin Sheng

Actually, the right table is my dimension table and the left table coming from fact table.. i need to do the subtraction the lead count where source key=10 and get that value and assign to Sales online category

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.

Top Solution Authors
Top Kudoed Authors