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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Elie_HUCHET
Helper III
Helper III

Connect two table

Hello, I would like to relate two tables through a single column. I would like that when there is a skip (0 or less) in the "Chartre de Bretagne" agency.

The code is:

 

Bennes manquantes (réparation, achat,... = 
IF(CALCULATE(sum('Stock pour Echange'[Stock pour dev Co])-[Nb stock dispo (opé - dédié - éch - résa)])<1,"",CALCULATE(sum('Stock pour Echange'[Stock pour dev Co])-[Nb stock dispo (opé - dédié - éch - résa)]))

 


Then all the agencies where there are skips are displayed with the number but on another tab.
If you need more information do not hesitate to come back to me.

 

 

Have a good day 🙂

 

1 ACCEPTED SOLUTION
v-yanjiang-msft
Community Support
Community Support

Hi @Elie_HUCHET ,

Sorry for not very clear about your problem, is your main problem not getting the correct result when there are two tables in the measure? If this is the case, please provide more details about the two tables, are they have relationship in the data model?

Best Regards,
Community Support Team _ kalyj

View solution in original post

1 REPLY 1
v-yanjiang-msft
Community Support
Community Support

Hi @Elie_HUCHET ,

Sorry for not very clear about your problem, is your main problem not getting the correct result when there are two tables in the measure? If this is the case, please provide more details about the two tables, are they have relationship in the data model?

Best Regards,
Community Support Team _ kalyj

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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