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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.