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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
Eboneigh
Frequent Visitor

Creating columns from summarized data in other tables

I have two datasets. One is enrollment information that states whether students that were enrolled in the fall semester are enrolled in the spring. The second lists all of the financial aid that students received each semester for the last ten years. Each type of award has its own line for each student and term. For example, there would be four lines if a student received both merit scholarships and loans in both Fall 2022 and Spring 2022.  Student ID's are being used to connect the two datasets. What I want is to create a column in the dataset with enrollment information that states whether or not a student was a merit scholarships recipient in the Fall semester. I am struggling to figure out how to 1) create a column using data from a different dataset, and 2) pull the correct information into the column where there might be multiple rows per student and term.

3 REPLIES 3
Eboneigh
Frequent Visitor

I figured out that I can concatenate student ID and term and use that variable to match the datasets, so the pairing by student ID AND term isn't really necessary to solve this. The below tables show what I'm trying to do. I need the info from Table 1 to be summarized into Table 2. This is what I'm going for:

 

Table 1

StudentAward
A1
A2
A3
B2
B4
C1
C2
C3
C4

 

Table 2

StudentReceived Award 1?
AYes
BNo
CYes

Hi,

Drag Student to the row section of the visual.  Write this measure and drag it to the visual

Received award 1? = if(calculate(countrows(Data),Data[Award]=1)>0,"Yes","No")

i have assumed that the data type in the award column is numeric.  If not, then change 1 to "1" in the measure shared above.

Hope this helps.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Ashish_Mathur
Super User
Super User

Hi,

Share some data (in a format that can be pasted in an MS Excel file) and show the expected result.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.