Forum Discussion

BarneyR's avatar
BarneyR
Frequent Visitor
5 years ago
Solved

Issue with reversing a percentage

Hello,   I am having a really frustrating issue with some of my data.   I have a measure which looks like this: Missing Data = IF([total_percentage] < 1, 1 -[total_percentage],0)   [total_per...
  • Anonymous's avatar
    Anonymous
    5 years ago

    Hi BarneyR 

    From your figure 2 ,I think the result you want for Missing Data is the sum of three percentages, 'Table'[Output%] , 'Table'[Downtime%] , 'Table'[Reject%]

     

    Calculated column

    Missing Data = IF('Table'[Output%]+'Table'[Downtime%]+'Table'[Reject%]<1,'Table'[Output%]+'Table'[Downtime%]+'Table'[Reject%],0)

     

    If the sum of 3 percentages <1,the return value is 0 .Otherwise ,it will return the sum of 3 percentages .

    The effect is as shown:

    Best Regards

    Community Support Team _ Ailsa Tao

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.