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.
Dear Community Members,
I have a dax calculation that gets the count of students that were admitted 4 years ago.
My challenge is how to sum it, the result gives me the last value as the total instead of the sum of each row.
Please find my DAX query below:
Student Count Adm 4Yrs =
CALCULATE(
DISTINCTCOUNT(Admissions[AUGSTNO]),
DATEADD(DATESYTD(DimDate[Date]),-4,YEAR),
USERELATIONSHIP(Admissions[AUGSTNO],Graduation[GSTNO])
)
What I expect is the total to be the sum of the Student Count Adm 4yrs for each year.
Any direction to resolve this would be appreciated.
Solved! Go to Solution.
Hi @Pbrit try test measure below
Test =
Did I answer your question? Kudos appreciated / accept solution!
Proud to be a Super User!
Hi @Pbrit try test measure below
Test =
Did I answer your question? Kudos appreciated / accept solution!
Proud to be a Super User!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
21 | |
15 | |
15 | |
11 | |
7 |
User | Count |
---|---|
25 | |
24 | |
12 | |
12 | |
12 |