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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Help with measure

Hello,

 

I have two tables connected by unique code.

 

in those tables I have a column with another code (not unique, it identifies an area location inside a farm) where certain operations have been done.

 

I have a line for each operation that has been made in each of those places.

I want to sum the plantation operation areas for the codes that also have reposition operations.

 

So in conclusion, I want the area that was planted that needed reposition.

 

I assume I would need to create a measure that for each code it evaluates if there is a line with a resposition, and then it adds all the plantation areas for that code. Not sure how tho

 

 

3 REPLIES 3
Greg_Deckler
Community Champion
Community Champion

Sample data would help tremenously. Please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

Any input would be appreciated.

Anonymous
Not applicable

https://drive.google.com/file/d/1nkhl_i_ZLoecyrn8Lwo1xXccRAUtpUqU/view?usp=sharing

 

 

There you can find the report.

 

Not sure if this is what you meant

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.