Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Earliest Function

Hi, We are trying to create a measure based on calculated column, need help on the approach. Below the data like in Power Bi table. Where Date is the slicer.   Date ID Percentage 8/30/2021...
  • parry2k's avatar
    4 years ago

    Anonymous try this measure:

     

    DIVIDE ( 
      SUMX ( VALUES ( Table[Id] ), CALCULATE ( MAX ( Table[Percentage] ) ) ),
      DISTINCTCOUNT ( Table[Id] )
    )

     

    Follow us on LinkedIn

     

    Check my latest blog post The Power of Using Calculation Groups with Inactive Relationships (Part 1) (perytus.com) I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!

     

    Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.