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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Reply
igonzalezb
Helper I
Helper I

Fill blanks with linear interpolation

I have a table in Power Bi that looks like this example

TagDateValue
AJan-2012
AFeb-20 
AMar-2014
BJan-20 
BFeb-2010
BMar-20 
BApr-20 
BMay-2015
BJun-20 
BJul-2016

 

I would like to fill the blanks with linear interpolation in  a new column. Note that for B Jan-20 no data can be interpolated and it's left as blank.

TagDateValue New Column
AJan-201212
AFeb-20 13
AMar-201414
BJan-20  
BFeb-201010
BMar-20 11.66
BApr-20 13.33
BMay-201515
BJun-20 15.5
BJul-201616

 

1 ACCEPTED SOLUTION
V-lianl-msft
Community Support
Community Support

Hi @igonzalezb ,

 

Refer to this:

https://community.powerbi.com/t5/Quick-Measures-Gallery/Linear-Interpolation/m-p/330712 

 

Best Regards,
Liang
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

3 REPLIES 3
kritikamitra05
New Member

I have the same problem, but the formula given is not working for dates. Can anyone help me?

 

V-lianl-msft
Community Support
Community Support

Hi @igonzalezb ,

 

Refer to this:

https://community.powerbi.com/t5/Quick-Measures-Gallery/Linear-Interpolation/m-p/330712 

 

Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.