The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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!
@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.
Thanks for your reply.
Below is my date table which I created manually.
User | Count |
---|---|
17 | |
8 | |
7 | |
6 | |
6 |
User | Count |
---|---|
26 | |
13 | |
12 | |
9 | |
8 |