Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
hi,
I am trying to find a formula for "Test Result" column, which should be like "Wanted Result" column
Attached is the screenshot and PBIX file.
I have the formula so far like
https://drive.google.com/file/d/1L-5bHbdlweGYaQFwSuFZqWO_wWmfbMFx/view?usp=sharing
https://drive.google.com/file/d/1SimBnxRbvKi00USgHYVngRHRM0s9Lr02/view?usp=sharing
Will appreciate help in fixing it, so "Test Result" is exactly same results as "Wanted Results" ?
thank you in advance
Solved! Go to Solution.
@Anonymous
Not sure if I have it right, I get different results than your wanted result for some lines but I think it is what you are looking for.
Result =
VAR _Line = Test[Line#]
VAR _Ver = Test[Version#]
RETURN
CALCULATE (
SUM ( Test[Value] ),
ALLEXCEPT ( Test, Test[Category] ),
Test[Line#] = _Line,
Test[Version#] < _Ver
)
If this solves your issues please mark it as the solution so that others can find it easily. Kudos 👍 are nice too.
John
@Anonymous
Not sure if I have it right, I get different results than your wanted result for some lines but I think it is what you are looking for.
Result =
VAR _Line = Test[Line#]
VAR _Ver = Test[Version#]
RETURN
CALCULATE (
SUM ( Test[Value] ),
ALLEXCEPT ( Test, Test[Category] ),
Test[Line#] = _Line,
Test[Version#] < _Ver
)
If this solves your issues please mark it as the solution so that others can find it easily. Kudos 👍 are nice too.
John
Thank you JDBuchanan.
You Rock !
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
97 | |
96 | |
81 | |
74 | |
66 |
User | Count |
---|---|
126 | |
106 | |
105 | |
86 | |
72 |