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!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
Hi, I hope someone can help. I have a table containing our school term dates (start & end dates) and wish to flag which term is the current term based on this. Any help would be much apprectiated.
Solved! Go to Solution.
@gill_thornton , You can create a calculated column as per below DAX , fill free to update condition as per your requirements
DAX
CurrentTermFlag =
VAR CurrentDate = TODAY()
RETURN
IF(
CurrentDate >= TermDates[StartDate] && CurrentDate <= TermDates[EndDate],
"Current Term",
"Not Current Term"
)
Proud to be a Super User! |
|
@gill_thornton , You can create a calculated column as per below DAX , fill free to update condition as per your requirements
DAX
CurrentTermFlag =
VAR CurrentDate = TODAY()
RETURN
IF(
CurrentDate >= TermDates[StartDate] && CurrentDate <= TermDates[EndDate],
"Current Term",
"Not Current Term"
)
Proud to be a Super User! |
|
Thank you so much. This works perfectly.
| User | Count |
|---|---|
| 49 | |
| 37 | |
| 33 | |
| 22 | |
| 18 |
| User | Count |
|---|---|
| 132 | |
| 100 | |
| 56 | |
| 37 | |
| 37 |