Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
8 years ago
Solved

Replace null value untill

Hi all,

 

Question: My datasource is an xls document with in colum1 an customer, colum2 dates, etc.
But Colum 1 also contains the value null :

 

Colum 1                Colum 2

Customer 1           2016-01-02

null                        2016-01-03

null                        2016-01-04

Customer 2           2016-01-02

null                        2016-01-03

null                        2016-01-04

Customer 3           2016-01-02

null                        2016-01-03

null                        2016-01-04

Customer 4           2016-01-02

null                        2016-01-03

null                        2016-01-04

 

Is it possible to replace the null with the name of that customer? So that we get this:

 

Colum 1                Colum 2

Customer 1           2016-01-02

Customer 1           2016-01-03

Customer 1           2016-01-04

Customer 2           2016-01-02

Customer 2           2016-01-03

Customer 2           2016-01-04

Customer 3           2016-01-02

Customer 3           2016-01-03

Customer 3           2016-01-04

Customer 4           2016-01-02

Customer 4           2016-01-03

Customer 4           2016-01-04

 

 

I hope this is possible!

 

Thanks!

  • Anonymous's avatar
    Anonymous
    8 years ago

    Anonymous,

    You can use Fill down feature in Query Editor of Power BI Desktop to achieve the above requirement.


    Regards,
    Lydia

1 Reply

  • Anonymous's avatar
    Anonymous
    Not applicable

    Anonymous,

    You can use Fill down feature in Query Editor of Power BI Desktop to achieve the above requirement.


    Regards,
    Lydia