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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

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
November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

Check out the November 2024 Power BI update to learn about new features.

Top Solution Authors