"Reverse" Calculation

Misca

Well-known Member
Joined
Aug 12, 2009
Messages
1,749
Office Version
  1. 365
Platform
  1. Windows
I'm trying to calculate the daily average gas prices per month per Country. If I'd have the daily prices it wouldn't be a problem but I only have the prices for each Monday in each Country so I have to pretend that was the price for the whole week 'till the next Monday. The problem is I believe I know how the calculation should go but I just can't type the measure...
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
perhaps ...

Book1
ABC
1DayMonth
229/06/20209.50
330/06/20209.50
401/07/20209.50
502/07/20209.50
603/07/20209.50
704/07/20209.50
805/07/20209.50
906/07/20209.60
1007/07/20209.60
1108/07/20209.60
1209/07/20209.60
1310/07/20209.60
1411/07/20209.60
1512/07/20209.60
1613/07/20209.45
1714/07/20209.45
1815/07/20209.45
1916/07/20209.45
2017/07/20209.45
2118/07/20209.45
2219/07/20209.45
2320/07/202010.23
2421/07/202010.23
2522/07/202010.23
2623/07/202010.23
2724/07/202010.23
2825/07/202010.23
2926/07/202010.23
3027/07/20209.40
3128/07/20209.40
3229/07/20209.40
3330/07/20209.40
3431/07/20209.409.66
Sheet12
Cell Formulas
RangeFormula
C34C34=AVERAGE($B$4:B34)
 
Upvote 0
Thanks! I appreciate your input but I was looking for a DAX solution:

The data is loaded from a web site and loaded into data model using Power Query. It would be quite easy to fill in the blanks in the Power Query stage but I'd rather skip than and learn how to do the same with DAX measures.
 
Upvote 0
apologies - I picked this up as an unanswered thread and did not spot that it was asked in Power BI forum :oops:
 
Upvote 0
No worries: Like I said I appreciate your input!
 
Upvote 0

Forum statistics

Threads
1,215,443
Messages
6,124,890
Members
449,194
Latest member
JayEggleton

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top