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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.