cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
michellerosen Frequent Visitor
Frequent Visitor

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

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Moderator v-yuezhe-msft
Moderator

Re: Add calculated values to non calculated column?

@michellerosen,

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

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

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


Regards,
Lydia Zhang

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
2 REPLIES 2
michellerosen Frequent Visitor
Frequent Visitor

Re: Add calculated values to non calculated column?

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

Highlighted
Moderator v-yuezhe-msft
Moderator

Re: Add calculated values to non calculated column?

@michellerosen,

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

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

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


Regards,
Lydia Zhang

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.