Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
I have a reqeust to graph today's volume of calls against the 6 week historic average but only where the same Day Of Week (Monday = Monday) is averaged. I have the following measures created, but need to figure out how to update the average to select only same day of week as the current date.
Average_Offered = AVERAGEX(VALUES(CRM_Interval_Day_V21[CallDate]),[Total_Offered])
Current_Offered = CALCULATE(SUM(CRM_Interval_Day_V21[InboundOffered]),FILTER(CRM_Interval_Day_V21,CRM_Interval_Day_V21[CallDate]=TODAY()))
I also added the Day name as a field in my data prep. I am connecting to a PowerBI Online Service file, so I unfortunately can't bring in any additional tables or create a new table in my pbix. Any advice would be greatly appreciated!
thanks
Steve
Solved! Go to Solution.
Hi,
You may refer to my solution here.
Hope this helps.
Hi @shayden,
You can try to use weekday function to filter your table.
Average_Offered 6Week =
VAR current_Date =
MAX ( CRM_Interval_Day_V21[CallDate] )
RETURN
AVERAGEX (
FILTER (
ALLSELECTED ( CRM_Interval_Day_V21 ),
WEEKDAY ( CRM_Interval_Day_V21[CallDate], 1 ) = WEEKDAY ( current_Date, 1 )
&& CRM_Interval_Day_V21[CallDate]
>= current_Date - 42
&& CRM_Interval_Day_V21[CallDate] <= current_Date
),
[Total_Offered]
)
Reference:
Regards,
Xiaoxin Sheng
Hi,
You may refer to my solution here.
Hope this helps.
@Ashish_Mathur This format worked. I had to change some dates to reflect TODAY versus MAX('Date'), but I finally got it to work. Thank you very much for your quick response!
Average_Offered_Weekday = AVERAGEX(FILTER(DATESBETWEEN(CRM_Interval_Day_V21[CallDate],MIN(CRM_Interval_Day_V21[CallDate])-43,TODAY()-1),WEEKDAY(CRM_Interval_Day_V21[CallDate],2)=WEEKDAY(TODAY(),2)),[Total_Offered])
You are welcome.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 104 | |
| 81 | |
| 66 | |
| 50 | |
| 45 |