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