Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Hi all,
Looking to calculate the average of a value between certain dates. Below is a sample of the data that I have.
| Date | Attribute | Value | |
| 01/03/2020 00:00:00 | HH1 | 47 | |
| 28/03/2020 00:00:00 | HH1 | 58 | |
| 15/03/2020 00:00:00 | HH1 | 78 | |
| 05/04/2021 00:00:30 | HH2 | 66 | |
| 21/04/2021 00:00:30 | HH2 | 72 | 
My intended result is to display the average value for each HH (half hour) for the entire month.
Example of the result:
| Average of HH1 March | Average of HH2 April | |
| 61 | 69 | 
Thank you.
Solved! Go to Solution.
Hi @CalvinL ,
Looking at your sample data, you can do the following:
If this helps and resolves the issue, appreciate a Kudos and mark it as a Solution! 🙂
Thanks,
Pragati
Thanks guys, these solutions worked. Much appreciated!
Hi @CalvinL ,
You can create 2 calculated columns as below:
Month = FORMAT('Table'[Date.1],"MMMM")Column = "Average of" &" "&'Table'[Attribute]&" "&'Table'[Month]
Then create a matrix visual,put column in the field of "column" ,value in the field of "value",right click on value,select "average":
And you will see:
For the related .pbix file,pls click here.
 
					
				
		
Hi @CalvinL , you can easily do this !!!
1. select  matrix visual.
2. put columns value to Value.
3. Select average from values i.e..
Hope You will get this....
Thanks
If this helps and resolves the issue, appreciate a Kudos and mark it as a Solution!
@CalvinL you can easily achieve by following:
use matrix visual
put attribute on columns
value on values and choose aggregation to average
or create a measure
Avg = AVERAGE ( Table[Value] ) 
I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos whoever helped to solve your problem. It is a token of appreciation!
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
Hi @CalvinL ,
Looking at your sample data, you can do the following:
If this helps and resolves the issue, appreciate a Kudos and mark it as a Solution! 🙂
Thanks,
Pragati
 
					
				
				
			
		
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
 
            | User | Count | 
|---|---|
| 80 | |
| 49 | |
| 35 | |
| 31 | |
| 30 |