Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hello community,
I m trying to create a table or a column to retrieve unique Student ID and their respective date of the first time they came in our school from the enrollment table.
What I've tried so far:
So Student ID musst be unique and the date should be the first time he came to our school. So Minimum start date by Student ID.
Any help? Should be simple but can't do it 🙂
Thanks for you help
Solved! Go to Solution.
Hi @mlovejoy
Please find this below solution.
Best Regards,
Shreya Mukkawar
Appreciate with a Kudos!! (Click the Thumbs Up Button)
Did I answer your question? Mark my post as a solution!
@NikhilChenna @shreyamukkawar I'm doing this in DAX and it works, except that I want to retrieve the Intake Year of that "related Min Starting Date". Any ideas 🙂
Thanks a lot for your help.
Hi @mlovejoy ,
It is easy to map, but for that you have to create a unique key between 2 tables.
1. Create a concat of studentid and date using this in both the tables, =CONCATENATE('table1'[studentID],TEXT('table1'[Date],"mmddyyyy")
2. Create a new column in the summarized table, using lookup function,
Calculated column = LOOKUPVALUE('table1'[Intake Year],'table1'[concat],'summarizedtable'[concat])
This will solve your issue.
Regards,
Nikhil Chenna
Appreciate with a Kudos!! (Click the Thumbs Up Button)
Did I answer your question? Mark my post as a solution!
Hi @mlovejoy ,
It is easy to map, but for that you have to create a unique key between 2 tables.
1. Create a concat of studentid and date using this in both the tables, =CONCATENATE('table1'[studentID],TEXT('table1'[Date],"mmddyyyy")
2. Create a new column in the summarized table, using lookup function,
Calculated column = LOOKUPVALUE('table1'[Intake Year],'table1'[concat],'summarizedtable'[concat])
This will solve your issue.
Regards,
Nikhil Chenna
Appreciate with a Kudos!! (Click the Thumbs Up Button)
Did I answer your question? Mark my post as a solution!
Hi @mlovejoy , You can achieve this by this below solution.
1. Go the modelling tab and click on the new table option.
2. Use this below logic,
Summarize_table =
@NikhilChenna @shreyamukkawar I'm doing this in DAX and it works, except that I want to retrieve the Intake Year of that "related Min Starting Date". Any ideas 🙂
Thanks a lot for your help.
Hello @NikhilChenna ,
thanks for your answer. Howerver Intake Year is a text column Q1 2022, S2 2023,... so there is no minimum. Would there be a possiblity to add a column in the Student table to get this information? Basically I want to use Min start date as a criteria to put the related Intake Year (Q2 2022, S2 2023, ...) comming from the enrollment table in every student ID of the student table.
Thanks
Mark
Hi @mlovejoy
Please find this below solution.
Best Regards,
Shreya Mukkawar
Appreciate with a Kudos!! (Click the Thumbs Up Button)
Did I answer your question? Mark my post as a solution!
Hello @shreyamukkawar ,
thanks for your answer. For every Student ID I need to get the Intake Year which is text (Q2 2022, S1 2023,..). So actually the Date Min date start is the criteria to filter adn get the Intake Date.
Regards
Mark
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
18 | |
15 | |
14 | |
11 | |
8 |
User | Count |
---|---|
24 | |
19 | |
12 | |
11 | |
10 |