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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
v-shex-msft
Community Support
Community Support

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

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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