Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
michellerosen
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

@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
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

@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.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.