Forum Discussion

ramie's avatar
ramie
Frequent Visitor
4 years ago
Solved

How do i share a value based on spending time

Hi power bi family    Here i have a new problem which i am trying to solve in different ways lik e creating measure and calculated column  but not getting expected output. Problem is, in the below...
  • v-yalanwu-msft's avatar
    4 years ago

    Hi, ramie ;

    Try it.

    Measure = SUM([DURATION])/CALCULATE(SUM([DURATION]),ALL('Table') )*CALCULATE(SUM([Value]),FILTER(ALL('Table'),[UOWNER]=MAX('Table'[UOWNER])))

    the final show:

    If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.

    How to upload PBI in Community

     


    Best Regards,
    Community Support Team _ Yalan Wu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.