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.
Hello, I want to display previous score value of each "score title".. Like for instance "Strategy" in Month 01-june-2024 has a score value of 3 but in December 2023 Strategy has a value of "2" so i want to display this value score of "2" in the previous score column . Kindly help me dax code
What I Have What i Want
Solved! Go to Solution.
Previous Score =
VAR CurrentAccount = 'Table'[Account]
VAR CurrentScoreTitle = 'Table'[Score Title]
VAR CurrentAssessmentMonth = 'Table'[Assessment Month]
RETURN
CALCULATE(
MAX('Table'[Score Value]),
FILTER(
ALL('Table'),
'Table'[Account] = CurrentAccount &&
'Table'[Score Title] = CurrentScoreTitle &&
'Table'[Assessment Month] < CurrentAssessmentMonth
)
)
@Dyke211 Try these:
CALCULATE (
SUM ( Table[Score Value] ),
OFFSET (
-1,
ALL ( Table[Account], Table[Score Title], Table[Score Value], Table[Assessment Month] ),
ORDERBY ( Table[Assessment Month], ASC ),
PARTITIONBY ( Table[Account], Table[Score Title] )
),
REMOVEFILTERS ( Table )
)
and
VAR CurrentMonth =
Table[Assessment Month]
RETURN
CALCULATE (
MAX ( Table[Score Value] ),
Table[Assessment Month] < CurrentMonth,
ALLEXCEPT ( Table, Table[Score Title] )
)
I just tried but didnt work
Still in need of a help
Previous Score =
VAR CurrentAccount = 'Table'[Account]
VAR CurrentScoreTitle = 'Table'[Score Title]
VAR CurrentAssessmentMonth = 'Table'[Assessment Month]
RETURN
CALCULATE(
MAX('Table'[Score Value]),
FILTER(
ALL('Table'),
'Table'[Account] = CurrentAccount &&
'Table'[Score Title] = CurrentScoreTitle &&
'Table'[Assessment Month] < CurrentAssessmentMonth
)
)
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 | |
11 |