cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Microsoft
Microsoft

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.

View solution in original post

2 REPLIES 2
Highlighted
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
Microsoft
Microsoft

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.

View solution in original post

Helpful resources

Announcements
Community Blog

Community Blog

Visit our Community Blog for articles, guides, and information created by fellow community members.

Using the Community

Using the Community

Need help with the Power BI Community? Our 'Using the Community' support articles are a great place to start.

Galleries

Galleries

Looking for inspiration on how to present your data? Need instructional videos? Check out our Galleries!

Community Summit North America

Community Summit North America

Innovate, Collaborate, Grow. The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors