Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello Community,
First time posting here as I did not see the solution to my problem..
What I need is the following:
GOAL : ‘Week over week%’ calculation under 2 conditions:
(1) Picks the most recent week of data available (avoid blank) under the selected filters (‘Year’ & ‘Month’ from the Date table)
(2) Week over week calculation takes into account the days from both current vs previous week
*I want to display the most recent Week-to-date-data on a Card automatically when choosing Year & Month on a slicer. Please see detail below:
Current environment:
Requirement (1)
****
Week Calc =
VAR CountWeeks = MAX ( dimDate [Week Relative Offset] )
RETURN
CALCULATE(
[Total QTY],
dimDate [Week Relative Offset] = CountWeeks
)
****
Requirement 2
So my goal is:
WOW% for the current week to date = ( (847+719) – (793+782) ) / (793+782)
Thank you very much in advance!!
Solved! Go to Solution.
Hi @tkwh1 see part "Week-to-date over the full previous week" and other related week calculation
from link https://www.daxpatterns.com/week-related-calculations/
I hope this help
Proud to be a Super User!
Hi @tkwh1 see part "Week-to-date over the full previous week" and other related week calculation
from link https://www.daxpatterns.com/week-related-calculations/
I hope this help
Proud to be a Super User!
User | Count |
---|---|
25 | |
12 | |
8 | |
6 | |
6 |
User | Count |
---|---|
26 | |
12 | |
11 | |
8 | |
7 |