Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
prashantg364
Helper II
Helper II

Average of selected dates

Below is my data set.

I want to calculate an average of Task1, Task2, and Task3 for any particular date range.

 

like for example 

Date range 20-03-2023 to 25-03-23

Average of Task1 = 275

Average of Task2 = 288

Average of Task3 = 399

What measure should I create to get this Average?

DateTask1Task2Task3
16-03-2023239373388
17-03-2023255288439
18-03-2023260222448
19-03-202392450
20-03-2023300272331
21-03-2023265242354
22-03-2023298308500
23-03-2023307338434
24-03-2023219295436
25-03-2023263276343
26-03-20237547125
27-03-2023299352633
Grand Total278930374481
1 REPLY 1
Barthel
Solution Sage
Solution Sage

Hey @prashantg364 

You can create three separate measures, each referencing a task column. For example, Task 1:

average_task_1 = AVERAGE ( 'Table'[Task1] )

 The measure automatically takes into account the date selection.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.