Forum Discussion
Fill in blank rows on calculated table with previous value
- Anonymous3 years ago
Hi pabb ,
Please create a new calculated column:
tc al dof 2 = VAR _index = 'Table'[Numero Semana] VAR _max_index = CALCULATE(MAX('Table'[Numero Semana]),FILTER(ALL('Table'),'Table'[Numero Semana]<_index && NOT ISBLANK('Table'[tc al dof]))) VAR _result =IF(ISBLANK('Table'[tc al dof]),CALCULATE(MAX('Table'[tc al dof]),FILTER(ALL('Table'),'Table'[Numero Semana]=_max_index)),'Table'[tc al dof]) 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
Hi pabb ,
Please create a new calculated column:
tc al dof 2 =
VAR _index = 'Table'[Numero Semana]
VAR _max_index = CALCULATE(MAX('Table'[Numero Semana]),FILTER(ALL('Table'),'Table'[Numero Semana]<_index && NOT ISBLANK('Table'[tc al dof])))
VAR _result =IF(ISBLANK('Table'[tc al dof]),CALCULATE(MAX('Table'[tc al dof]),FILTER(ALL('Table'),'Table'[Numero Semana]=_max_index)),'Table'[tc al dof])
RETURN
_result
Best Regards,
Gao
Community Support Team
If 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
- pabb3 years agoFrequent Visitor
This worked, thanks a lot Anonymous