Hi,
I am trying to create column quite similar to what I have prepared in excel.
It is based on 4columns.
NewSubBalance =
(for the minimum value in column Key) Requirements
for the next rows as in formula below
if((CurrentCapacityHrs (earlier row) > NewSubBalance(earlier row)) then Requirements (current row) else Requirements (current row) + NewSubBalance(earlier row) - CurrentCapacityHrs(earlier row))
DAX is not Excel. Recursive calculations in DAX are often not possible. From your description it follows that you want a calculated column, not a measure. Use Power Query to perform this and similar calculations.
It is just an example to explain what I want to achive by calculated column. I am using Power BI, excel is as I said an example to illustrate calculation.
As I said, this type of caclulation should be (or even must be) performed in the source or in Power Query.
Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.
Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!
Join the biggest FREE Business Applications Event in LATAM this February.
User | Count |
---|---|
96 | |
80 | |
43 | |
32 | |
29 |
User | Count |
---|---|
133 | |
94 | |
90 | |
46 | |
42 |