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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. 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.

amitchandak
Super User
Super User

@igonzalezb , see if this can help

https://community.powerbi.com/t5/DAX-Commands-and-Tips/Linear-Interpolation-between-dates/m-p/115520...

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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