Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
I am facing and issue with Average function where it returns the same values as they are in original rows.
First Column represents some numbers and the last column I am trying to do average. I am using and excel sheet. I want to filter the values out by Column 2 and the date column. The data is for 2021 and 2022
you are creating a meausre, pls provide the sample data and expected output.
Proud to be a Super User!
Please see the snippet. Below is something I am trying to do
Hi! Thanks for the responses but I am still not able to get through getting the correct results
@ryan_mayu Hey Ryan! I was able to solve the issue! Thanks for all the help. I first created a measure and then plugged that in a column to calculate and divide
could you pls provide the sample data?
Proud to be a Super User!
Hi,
Share the download link of your PBI file and show the expected result. Also, do you want a calculated column or a measure?
Hi,
You should write a measure (not a calculated column). To get further help, share some data and show the expected result.
is this what you want?
Column = AVERAGEX(FILTER('Table',year('Table'[date])=year(EARLIER('Table'[date]))),'Table'[value])
Proud to be a Super User!
User | Count |
---|---|
121 | |
69 | |
66 | |
56 | |
52 |
User | Count |
---|---|
182 | |
85 | |
67 | |
61 | |
53 |