Forum Discussion

MathildaP's avatar
MathildaP
Frequent Visitor
5 years ago
Solved

Dax for avaibality

Dax for avaibality 

Assignee
(Have this data)
Starteddate of a ticket
(Have this data)
Estimated hours
(How long a task will take)
(Have this data)
Due date of ticket (Have this data)Estimated hours per month
(I need a formular for this)
Person 11st of April for example100(Could be 3 months ahead for example)Due date MINUS created date (estimated hours)/AMOUNT OF MONTHS
    100/3 
     
  • Hey MathildaP ,

     

    a few sentences of explanation would help to understand the problem a little better.

    Add the following calculated column:

    Estimated hours per month =
    DIVIDE(
        myTable[Estimated hours],
        DATEDIFF(
            myTable[Starteddate],
            myTable[Due date],
            MONTH
        )
    )

     

    If you need any help please let me know.
    If I answered your question I would be happy if you could mark my post as a solution ✔️ and give it a thumbs up 👍
     
    Best regards
    Denis
     

1 Reply

  • selimovd's avatar
    selimovd
    Icon for Most Valuable Professional rankMost Valuable Professional

    Hey MathildaP ,

     

    a few sentences of explanation would help to understand the problem a little better.

    Add the following calculated column:

    Estimated hours per month =
    DIVIDE(
        myTable[Estimated hours],
        DATEDIFF(
            myTable[Starteddate],
            myTable[Due date],
            MONTH
        )
    )

     

    If you need any help please let me know.
    If I answered your question I would be happy if you could mark my post as a solution ✔️ and give it a thumbs up 👍
     
    Best regards
    Denis