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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Use a measure of a table in another table

Hi ! 

 

This is my problem I have these 2 graphs : 

 

G1.png

You can see that the 2 graphs are same, just the intern production percentage (in black) is different because I use 2 different database to do the graphs, the total production is the same but the split Intern production and non intern production is different

So I want to keep just one graph and put the 2 percentage curve in the same graph but when I do this this is the result

 

G2.png

 

The orange curve is not good...

This data is like this : (direct = intern production, toller = non intern production)

G3.png

 

And I the intern production is obtained by a measure : 

 

InterProductionPercentage = CALCULATE(SUM('Data'[Value]), 'Data'[Category]="Drying Direct")/(CALCULATE(SUM('Data'[Value]),'Data'[Category]=="Drying Toller")+(CALCULATE(SUM('Data'[Value]),'Data'[Category]=="Drying Direct")))
 
I made this measure for the 2 database but when I move one mease in an other graph (from the other data) I don't have the good curve
Do you have a solution to solve this ? Thanks in advance
1 ACCEPTED SOLUTION
Anonymous
Not applicable

I solve the problem thanks for your help

If someone is interested the solution is create a relation between the two tables with the "Year" column

View solution in original post

5 REPLIES 5
Anonymous
Not applicable

Hi @Anonymous ,

 

Glad to know your issue has been resolved!

Could you please Accept your last reply as the solution to make the thread closed?  The other members find it more quickly😀

 

Best Regards,
Eyelyn Qin

PaulDBrown
Community Champion
Community Champion

Please provide sample data or a PBIX file





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






Anonymous
Not applicable

I solve the problem thanks for your help

If someone is interested the solution is create a relation between the two tables with the "Year" column

Anonymous
Not applicable

Hello,

Can you please explain more? I think you have a problem in your model that the two tables don't have a connexion between them? 

Anonymous
Not applicable

Yes sorry it's not clear

 

I have 2 differents tables which represente the production (intern or non-intern) of some countries each year between 2021 and 2026

The total production (intern + non intern) is the same for the two tables

Just the split Intern-Non Intern production is different so the percentage curve (in black) is different if you look the 2 graphs

So I want to keep just one graph and add the percentage of intern production of the other table but when I did this I don't have the good curve. I think your are right I have to have a relation between the tables ?

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.