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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

New Member

Custom column based on two other columns with conditions


I'm new to the forum and relatively new to Power Bi and Power Query.  I've looked all over to try to find a solution so hoping you can help.  I have a data sheet containing participant data and employer data.  There are two columns containing local authority areas, one for the participant's address and one for the employer address.  I have created a column in Power Query which looks at both columns to see if they match and if they do, returns "Lives and works in area", otherwise "Lives in area and works out of area".  This works fine except it doesn't give the whole picture and it's the bit I'm stuck on!


I need to distinguish between i. Lives in area and works out of area ii. Lives in area and works in area iii. Lives out of area and works in area when using a filter.   When in Power Bi I want to be able to use visuals to show the percentage in each.  It may not be possible but thought I would check on here, I thought a separate column  would allow different visuals such as cards/pie chart to show percentages etc. 


Not sure if I need a column or set up filters and visuals differently.  I have two filters i. Employer local authority area ii. Participant local authority area.  I can use these to determine the numbers but it's not very practical and end users would struggle.  

Hope that makes sense, it's hurting my head! 🙂  Thanks for reading.


Helpful resources

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.


Power BI Monthly Update - May 2024

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


Fabric certifications survey

Certification feedback opportunity for the community.