Forum Discussion

Tomburton2023's avatar
Tomburton2023
Frequent Visitor
2 years ago
Solved

Creating a calculated column to sum values based on a condition

Hi   I am relatively new to PowerBI and struggling to get the solution I need. Below is a screenshot of the table I'm working with, and the calculated column called 'AnticipatedWIPFeePerMatter' whi...
  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi  Tomburton2023 ,

    According to your describe, here are my test process

    To achieve your goal, you can follow these steps:

    Here are my test data:

     

    1.Create a calculate column by using DAX

     AnticipatedWIPFeePerMatter = 
    CALCULATE(
        SUMX('Table','Table'[Amount]*'Table'[LikelyBilledValue]),
        FILTER('Table', 'Table'[Tiltle] = EARLIER('Table'[Tiltle]) && 'Table'[LikelyBilledValue] < 1)
    )
    

    2.Final output

     

    In order for you to solve the problem faster, you can refer to the following documentation

    How to Get Your Question Answered Quickly - Microsoft Fabric Community

     

    Best Regards,

    Albert He