Forum Discussion
igorpereiradaco
2 years agoFrequent Visitor
help to solve logical problem
I would like to create a condition in DAX that allows me to display the status of the item based on the scenario associated with it and the status of the tests associated with that scenario. The pro...
- 2 years ago
Sharing Pbix file.
https://drive.google.com/file/d/1WSWYxgFnaK7uPvzGH2X02N2raeax5VYU/view?usp=sharing
- 2 years ago
talespin
Solution Sage
2 years ago
Please try these measures
ScenarioStatus =
VAR _MinVal = CALCULATE( MINX(LogicalProblem, IF(LogicalProblem[Column1] = "ok", 1 , 0) ), REMOVEFILTERS(), VALUES(LogicalProblem[Scenario]) )
RETURN IF(_MinVal = 1, "ok", "Not ok")
ItemStatus =
VAR _MinVal = CALCULATE( MINX(LogicalProblem, IF(LogicalProblem[Column1] = "ok", 1 , 0) ), REMOVEFILTERS(), VALUES(LogicalProblem[ItemID]) )
RETURN IF(_MinVal = 1, "ok", "Not ok")
- igorpereiradaco2 years agoFrequent Visitor
Good morning. Thanks for the feedback. The solution is this. Can you send me this pbix file?