Forum Discussion

kastenkk's avatar
kastenkk
Frequent Visitor
1 year ago
Solved

Repeat a application from its starting point until the End of the year

Hello all,   This is the current structure issue   1. The model is based on 2 fact table      1.1 Register of reason that a part price fluctuates (linked with reason itself and date of applicati...
  • kastenkk's avatar
    1 year ago

    Solution is as follow:

    Result =
    FILTER(
        CROSSJOIN(
            '(fact1)','(fact2)'
        ),
        '(fact1)'[PartNumber]='(fact2)'[PartNumber_] && '(fact1)'[DateP]<='(fact2)'[DateP_]
    )

    and relation with caledar must be on "DateP_" at (fact2) table