Forum Discussion

michellerosen's avatar
michellerosen
Frequent Visitor
9 years ago
Solved

Add calculated values to non calculated column?

In Power BI I have a column that gets data from an excel file that is updated every day. However for days it is not updated for yet, I want to add a calculated value that projects what the upcoming hours could be based on past values.

I'm unsure as to how to add these calculated values in blank cells in a column that gets data from another file

  • Anonymous's avatar
    Anonymous
    9 years ago

    michellerosen,

    Basically, you would need to add a new column using formula as below.

    Column = IF(ISBLANK(Table2[Sales]),500, Table2[Sales])


    If the above example doesn’t help, please share sample data of your table.


    Regards,
    Lydia Zhang

2 Replies

  • michellerosen's avatar
    michellerosen
    Frequent Visitor

    Basically I want to show a var number when there is no data, and show the actual data when there is data

    • Anonymous's avatar
      Anonymous
      Not applicable

      michellerosen,

      Basically, you would need to add a new column using formula as below.

      Column = IF(ISBLANK(Table2[Sales]),500, Table2[Sales])


      If the above example doesn’t help, please share sample data of your table.


      Regards,
      Lydia Zhang