Forum Discussion

prill2ta's avatar
prill2ta
Icon for Advocate II rankAdvocate II
7 years ago
Solved

Allocating Values Over Time Based on Initial Date

I have two tables - One with Assignment Volume designated by an Assignment Number. The other table breaks out the Assignments by how many months they take and how much time is allocated per month. ...
  • v-jiascu-msft's avatar
    v-jiascu-msft
    7 years ago

    Hi prill2ta,

     

    Since there isn't a month "February" for "A-100-101", I would suggest you create a new table. Please check out the demo in the attachment.

    Table =
    SELECTCOLUMNS (
        ADDCOLUMNS (
            FILTER (
                CROSSJOIN (
                    SELECTCOLUMNS (
                        'Table1',
                        "a", [Assignment Type],
                        "b", [Designator],
                        "c", [Start Month]
                    ),
                    Table2
                ),
                [a] = [Assignment Type]
            ),
            "startmonth", EDATE ( [c], [Month in Assignment] - 1 )
        ),
        "Designator", [b],
        "Assignment Type", [a],
        "Month in Assignment", [Month in Assignment],
        "Time Dedication (hrs)", [Time Dedication (hrs)],
        "Final StartMonth", [startmonth]
    )
    

    Allocating-Values-Over-Time-Based-on-Initial-Date

     

    Best Regards,
    Dale