March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
We have a couple of different number ranges of Student ID's. They are have a User ID (Col. C) which is used as the key for imports into our Student Information System.
I am looking for help filling in the User_ID field (C). If the Student ID (Col. A) starts with a 2, then I need the number from the User ID Field (Col B). If the Student ID (A) number is already the same as the User ID (B) number then insert that into the User_ID field (column C)
Solved! Go to Solution.
Hi @Anonymous ,
try this
Column =
SWITCH(TRUE(),
[Student ID] = [User ID],[Student ID],
LEFT([Student ID],1) = "2", [User ID]
)
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
try this
Column =
SWITCH(TRUE(),
[Student ID] = [User ID],[Student ID],
LEFT([Student ID],1) = "2", [User ID]
)
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
129 | |
90 | |
75 | |
58 | |
53 |
User | Count |
---|---|
200 | |
104 | |
101 | |
67 | |
55 |