Forum Discussion

RenataOGardner's avatar
5 years ago

RunRate measure

Hi all,


I have tried all the 'Run Rates' we have here in the community, but it's still not working.

Could you please help me? I need the run rate by week, but ideally dynamically.


Below we have the run rate by month, which seems correct, and by week which is worng.

 


RunRate = DIVIDE( [Total Net Sales £], [# Days in Period up to Today] )
# Days in Period up to Today =
var __today = TODAY()
return
CALCULATE(
[# Days in Period],
KEEPFILTERS( 'Date'[Date] <= __today )
)
WeekYear = WEEKNUM([Date],21)


Many thanks!

2 Replies

  • RenataOGardner ,do you have a date column?

    Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

    • RenataOGardner's avatar
      RenataOGardner
      Helper II

      Thanks for your reply.

      Below is my date table which I created manually.