March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
As per the title why does 'path B' work and the commented out segment of code 'path A' does not?
EVALUATE
VAR ProgressList_Target =
FILTER (
SELECTCOLUMNS (
'Measure Benefit Progress List',
"MeasureID" , 'Measure Benefit Progress List'[Main ID LkUpId]+0,
"Financial Year" , 'Measure Benefit Progress list'[Financial Year],
"Target" , 'Measure Benefit Progress list'[Revised] -- value for 2027
),
---'Measure Benefit Progress list'[Financial Year] = "2026-27" -- path A
PATHCONTAINS ( "2026-27", [Financial Year] ) -- path B
)
RETURN
ProgressList_Target
How to make 'path A' work? The https://dax.guide/filter/ guide example uses the exact same construct.
EVALUATE
FILTER (
Customer,
Customer[Continent] = "Europe"
)
Solved! Go to Solution.
Please try it this way
EVALUATE
VAR ProgressList_Target =
FILTER (
SELECTCOLUMNS (
'Measure Benefit Progress List',
"MeasureID", 'Measure Benefit Progress List'[Main ID LkUpId] + 0,
"@FinancialYear", 'Measure Benefit Progress list'[Financial Year],
"Target", 'Measure Benefit Progress list'[Revised]
),
[@FinancialYear] = "2026-27"
)
RETURN
ProgressList_Target
Please try it this way
EVALUATE
VAR ProgressList_Target =
FILTER (
SELECTCOLUMNS (
'Measure Benefit Progress List',
"MeasureID", 'Measure Benefit Progress List'[Main ID LkUpId] + 0,
"@FinancialYear", 'Measure Benefit Progress list'[Financial Year],
"Target", 'Measure Benefit Progress list'[Revised]
),
[@FinancialYear] = "2026-27"
)
RETURN
ProgressList_Target
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
21 | |
14 | |
11 | |
8 | |
5 |
User | Count |
---|---|
28 | |
21 | |
20 | |
13 | |
10 |