Forum Discussion

Justas4478's avatar
Justas4478
Post Prodigy
2 years ago
Solved

Not fulfilled %

Hi, I have this measure % Fulfilment = 'Outbound Delivery'[Total Actual]/'Outbound Delivery'[Total Demand] It calculates number of fulfilment. Results number for example 0.985 and so on. I change...
  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi Justas4478 ,

    Thank you Uzi2019  for your prompt reply, I have created a sample data for you to help you solve your problem. You can follow the steps below:

    Sample data:

    1.Add a new column:

    %Not Fulfilment = 
    VAR _All = 1 - ( 'Outbound Delivery'[Total Actual] / 'Outbound Delivery'[Total Demand] )
    RETURN
        IF (
            'Outbound Delivery'[Total Actual] = BLANK ()
                || 'Outbound Delivery'[Total Demand] = BLANK (),
            BLANK (),
            _All
        )
    

    Final output:

    How to Get Your Question Answered Quickly - Microsoft Fabric Community

    If it does not help, please provide more details with your desired out put and pbix file without privacy information.

     

    Best Regards,

    Ada Wang

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