cancel
Showing results for 
Search instead for 
Did you mean: 
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
Carousel_PBI_Wave1

2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

BizApps LATAM 2023

Business Application LATAM Summit 2023

Join the biggest FREE Business Applications Event in LATAM this February.

Power Platform Bootcamp

Global Power Platform Bootcamp

In this bootcamp we will deep-dive into Microsoft’s Power Platform stack with hands-on sessions and labs, delivered to you by experts and community leaders.