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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. 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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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