Forum Discussion
aallman
Helper II
1 year agoMeasure based on Multiple Slicer Selection
Hello! I have a measure to calculate fail rate. Right now it is actually a couple of measures: one counting all the fails, one counting the total items, and a third that does the calculation to turn...
- 1 year ago
Hi,
I am not sure if I understood your question correctly, but please try something like below and check whether it works.
If you are using ALL DAX function in one of your measures, please try using ALLSELECTED DAX function.ALLSELECTED function (DAX) - DAX | Microsoft Learn
expected result measure: = VAR _failcount = [failcount measure] VAR _allitemcount = CALCULATE ( [itemcount measure], ALLSELECTED () ) RETURN DIVIDE ( _failcount, _allitemcount )
Anonymous
1 year agoNot applicable
Hi aallman ,
May I ask if you have gotten this issue resolved?
If it is solved, please mark the helpful reply or share your solution and accept it as solution, it will be helpful for other members of the community who have similar problems as yours to solve it faster.
Thank you.