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!
Hello,
I have academic data that we report in trimesters. I have a trimester sequence number and am successful in getting last year's sequence number, but when I create my calculation to try and find last year's qty's, my value is showing blank. Not sure what I'm missing here.
StudentCount - TY = CALCULATE(DISTINCTCOUNT('Cohort Metrics'[Student_SK]))
@heidibb , Are you using a date or Trimester table with Year, Trimester Sequence (a table that join back to you table on Trimester key)
You can meausres like
This Period = CALCULATE(DISTINCTCOUNT( Registration[ID] ), FILTER(ALL(Semesters), Semesters[year]=max(Semesters[year]) && Semesters[Semesters]=max(Semesters[Semesters]) ))
Last Period = CALCULATE(DISTINCTCOUNT( Registration[ID] ), FILTER(ALL(Semesters),Semesters[year]=max(Semesters[year]) -1 && Semesters[Semesters]=max(Semesters[Semesters]) ))
here Semesters are numbers within year like 1,2,3 and reset every year
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 60 | |
| 46 | |
| 30 | |
| 24 | |
| 23 |
| User | Count |
|---|---|
| 145 | |
| 111 | |
| 64 | |
| 38 | |
| 32 |