Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
I have a table in Power Bi that looks like this example
Tag | Date | Value |
A | Jan-20 | 12 |
A | Feb-20 | |
A | Mar-20 | 14 |
B | Jan-20 | |
B | Feb-20 | 10 |
B | Mar-20 | |
B | Apr-20 | |
B | May-20 | 15 |
B | Jun-20 | |
B | Jul-20 | 16 |
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.
Tag | Date | Value | New Column |
A | Jan-20 | 12 | 12 |
A | Feb-20 | 13 | |
A | Mar-20 | 14 | 14 |
B | Jan-20 | ||
B | Feb-20 | 10 | 10 |
B | Mar-20 | 11.66 | |
B | Apr-20 | 13.33 | |
B | May-20 | 15 | 15 |
B | Jun-20 | 15.5 | |
B | Jul-20 | 16 | 16 |
Solved! Go to Solution.
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.
I have the same problem, but the formula given is not working for dates. Can anyone help me?
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.
User | Count |
---|---|
84 | |
80 | |
69 | |
46 | |
46 |
User | Count |
---|---|
106 | |
50 | |
49 | |
40 | |
39 |