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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Display non matching values in a table

Hi Everyone

 

Kindly assist, I am new to power bi.

 

I have 3 queries (Employee Data, Leave  Taken and Leave Balance).All of them are linked through an employee ID.

 

I  need to display the total number of leave days and  leave type from Leave Taken  along with leave balances .  The challenge is  for some employees the leave type is not the same, using the lookupvalue funtion I am able to get the matching value. But now I want to display the non matching value as well in a separate row.

 

New Time Off Plan = LOOKUPVALUE('OML Leave Taken'[Time Off Type for Time Off Entry],'OML Leave Taken'[Time Off Type for Time Off Entry],'OMl Leave Balance'[Time Off Plan])
 
As depicted below the total number of days is 8 .Therefore the other 4 days belongs to a different time off plan.
nmxobo_0-1645614640956.png

 

 

Your response will be highly appreciated.

 

 

3 REPLIES 3
v-luwang-msft
Community Support
Community Support

Hi @Anonymous ,

Has your problem been solved, if so, please consider Accept a correct reply as the solution or share your own solution to help others find it.

 

Best Regards
Lucien

v-luwang-msft
Community Support
Community Support

Hi @Anonymous ,

Test the below:

Match =
IF (
    LOOKUPVALUE ( 'OML Leave Taken'[Time Off Type for Time Off Entry],
  'OML Leave Taken'[Time Off Type for Time Off Entry], 'OMl Leave Balance'[Time Off Plan])
        = BLANK (),
    "Not A Match",
    "Match"
)

 

If question not solved ,could you pls share a sample data and expected output?

 

 

Best Regards

Lucien

lbendlin
Super User
Super User

Please provide sanitized sample data that fully covers your issue. If you paste the data into a table in your post or use one of the file services it will be easier to work with. Avoid posting screenshots of your source data if possible.

Please show the expected outcome based on the sample data you provided. Screenshots of the expected outcome are ok.

https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.

Top Solution Authors
Top Kudoed Authors