Forum Discussion
populating empty slots with data
- Anonymous3 years ago
Hi alex-JF ,
Plesae create a calculated column.Name 2 = VAR _index = CALCULATE ( MAX ( 'Table'[Index] ), FILTER ( ALL ( 'Table' ), 'Table'[Index] <= EARLIER ( 'Table'[Index] ) && 'Table'[name] <> "" ) ) VAR _result = CALCULATE ( MAX ( 'Table'[name] ), FILTER ( ALL ( 'Table' ), 'Table'[Index] = _index ) ) RETURN _resultBest Regards,
Gao
Community Support TeamIf there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data in the Power BI Forum
https://community.powerbi.com/t5/Desktop/Dax-fill-down-in-formula/m-p/318991
something along this topic, but it can't work with string type, which I need here
- Anonymous3 years agoNot applicable
Hi alex-JF ,
Plesae create a calculated column.Name 2 = VAR _index = CALCULATE ( MAX ( 'Table'[Index] ), FILTER ( ALL ( 'Table' ), 'Table'[Index] <= EARLIER ( 'Table'[Index] ) && 'Table'[name] <> "" ) ) VAR _result = CALCULATE ( MAX ( 'Table'[name] ), FILTER ( ALL ( 'Table' ), 'Table'[Index] = _index ) ) RETURN _resultBest Regards,
Gao
Community Support TeamIf there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data in the Power BI Forum
- alex-JF3 years agoFrequent Visitor
Many thanks, works like a charm!