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
jcastr02
Post Prodigy
Post Prodigy

If formula based on another table

I have a master list of team members email address of whom need to complete a task.  I have another table that is showing completion of a process with a task outcome column.  I'd like to add a column where it shows 0 if they have not completed (task outcome=pending OR in progress, and 1 if they did complete (if the task outcome shows completed).  See screen shot example below.  

 

Both queries would be in POWER BI - Assumming I would need to build a relationship with the "email address" of both tables in order for this to work?

CQI Example.png

 

 

2 REPLIES 2
Watsky
Solution Sage
Solution Sage

I would join the tables on e-mail address (as long as your master doesn't include duplicates) then created a calculated column 

 

=IF ( Task [Task Outcome] = "Approved" , 1 , 0 )

 

image.png

 

 

Did my answer(s) help you? Give it a kudos by clicking the Thumbs Up!
Did my post answer your question(s)? Mark my post as a solution. This will help others find the solution.

Proud to be a Super User!

Nathaniel_C
Community Champion
Community Champion

Hi @jcastr02 ,
Depending on the relationship that is built, you would either use a RELATED() or RELATEDTABLE(), or you might use LOOKUPVALUE().
Let me know if you have any questions.

If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos 👍are nice too.
Nathaniel





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




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.