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

Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. 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
PBIApril_Carousel

Power BI Monthly Update - April 2025

Check out the April 2025 Power BI update to learn about new features.

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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