Tips & Tricks¶
STUDENT.ACAD.CRED¶
Reference field used in many queries to access student academic credit records.
AND/OR Logic for Rules¶
When building rules in RLDE, use correct AND/OR logic to ensure rules fire as intended. Test rules in a non-production environment first.
Concatenating Using Dates¶
Use date concatenation in queries to build term codes or compare date ranges.
Chopping Off the End of a Value¶
Use string functions to truncate values for matching or display purposes.
Converting Effective Terms to Numbers for Comparison¶
Convert term codes (e.g., 2024FA) to numeric values for comparison in queries. Example approach: extract the year and map the term suffix (FA, SP, SU, SI) to a numeric quarter.
Creating .CSV File from File Names¶
Use Excel or a script to extract file names from a directory and create a .csv list for batch processing.
Highlighting Matches Between 2 Columns (A and B)¶
Use conditional formatting with a MATCH formula:
=ISNUMBER(MATCH(A1,$B$1:$B$100,0))
Joining Values From One Worksheet to Another Based on Criteria¶
Use XLOOKUP or VLOOKUP/INDEX-MATCH to pull values from a reference table.
Merge Queries in Power Query¶
In Excel Power Query, use Merge Queries to join datasets — similar to a SQL JOIN. Select the key column for matching.
XLOOKUP¶
More flexible than VLOOKUP:
=XLOOKUP(lookup_value, lookup_array, return_array, [if_not_found])
Creating Refresh Table in Power BI¶
Set up a scheduled refresh in Power BI Service to keep dashboards current. Ensure the data source connection is properly configured.
Removing Stubborn Whitespace After Numbers¶
Use TRIM() combined with CLEAN() in Excel, or SUBSTITUTE() to remove non-breaking spaces.
Auto Award Excel and Mail Merge Formatting¶
Format the Excel sheet for mail merge compatibility — ensure column headers match merge fields exactly.
How to Set Up Mail Profiles¶
Configure mail profiles in Outlook for routing communications from specific addresses (e.g., admissions@sac.edu).
SQL Tips¶
- Use
LIKEwith wildcards for flexible string matching. - Use
BETWEENfor date range queries. - Always test with a
SELECTbefore running anUPDATEorDELETE. - Use
TOP 10orLIMITto preview results before full runs.