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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
JMWDBA
Advocate II
Advocate II

How to look up and get value

Ok so what I did is create a sample excel file with 3 different tabs:

  1. Registrations
  2. New Students
  3. Graduated Students

The real data has these as 3 seperate files with the registration file having over 30,000 students and the number of courses they completed.  The new student file has about 14,000 students and their IDs.  The graduated file has about 4,000 students and their IDs.  So the common field between all files will be the Students ID. 

 

The first thing I need to do is see how many students in the 'New Students' have registrations in 'Registrations' then I need to display the [Completed Registrations] next to their [Student ID] from the 'New Students' tab/file.  I assume this would be similar to a VLOOKUP in Excel, which I have never done or had a reason to do until now.  

 

The second thing I need to do is see how many students in the 'Graduated Students' tab/file have registrations in the 'REgistrations' tab/file then I need to display the [Completed Registrations] next to their [Student ID] in 'Graduated Students' tab/file. 

 

I wondered if the 'Registrations' tab/file could be my central source and I column just somehow create a calculated column in Power BI

  1. one that displays the Student ID from the 'Graduated Students' tab/file if the ID from 'Graduated Students' is equal to the ID from 'Registrations'.  If no match then display No Match;  AND THEN,
  2. one that displays the Student ID from the 'New Students' tab/file if the ID from 'New Students' is equal to the ID from 'Registrations'.   If no match then display no match.

 

File: https://drive.google.com/file/d/0BxvqEMoNpMLibGRzaExMelN3SjA/view?usp=sharing 

 

The goal is to identify:

  1. How many students who were new took classes during the registration period and how many courses
  2. How many students who graduated took classes during the registration period and how many courses
1 REPLY 1
v-chuncz-msft
Community Support
Community Support

@JMWDBA,

 

According to your description above, you may take a look at LOOKUPVALUE Function and CONTAINS Function.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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.