Forum Discussion
help to solve logical problem
- 2 years ago
Sharing Pbix file.
https://drive.google.com/file/d/1WSWYxgFnaK7uPvzGH2X02N2raeax5VYU/view?usp=sharing
- 2 years ago
Sharing Pbix file.
https://drive.google.com/file/d/1WSWYxgFnaK7uPvzGH2X02N2raeax5VYU/view?usp=sharing
Friend, good afternoon.
What would it look like if I wanted to assign more status to the scenarios and items, as below:
if all tests are "Prevented user test" then scenario of the item "Prevented user test"
if all tests are "Not tested" then item scenario 'Not tested"
if all tests are "Prevented" then item scenario "Not tested"
if all tests are "In user testing" then scenario of the item "In user testing"
if all tests are "Approved" then scenario of the item "Approved"
if all scenarios are "Prevented user test" then test the item "Prevented user test"
if all scenarios are "Not tested" then test the item 'Not tested"
if all scenarios are "Prevented" then test the item "Not tested"
if all scenarios are "Under test" then test the item "Under test"
if all scenarios are "Approved" then test the item "Approved"
- talespin2 years ago
Solution Sage
This should do it. I noticed one thing, you have
if all tests are "In user testing" then scenario of the item "In user testing"
if all scenarios are "Under test" then test the item "Under test"
ScenarioStatus =VAR _MinVal = CALCULATE(MIN(LogicalProblem[Column1]),REMOVEFILTERS(),VALUES(LogicalProblem[Scenario]))VAR _MaxVal = CALCULATE(MAX(LogicalProblem[Column1]),REMOVEFILTERS(),VALUES(LogicalProblem[Scenario]))RETURN IF(_MinVal = _MaxVal,IF(_MaxVal = "Prevented", "Not tested", _MaxVal),"NA")-----------------------------------------------------------------------------ItemStatus =VAR _MinVal = CALCULATE(MIN(LogicalProblem[Column1]),REMOVEFILTERS(),VALUES(LogicalProblem[ItemID]))VAR _MaxVal = CALCULATE(MAX(LogicalProblem[Column1]),REMOVEFILTERS(),VALUES(LogicalProblem[ItemID]))RETURN IF(_MinVal = _MaxVal,IF(_MaxVal = "Prevented", "Not tested", _MaxVal),"NA")File Link:- igorpereiradaco2 years agoFrequent Visitor
Can you send me the pbix? Thank you very much, friend.
- talespin2 years ago
Solution Sage