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

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

Reply
Syndicate_Admin
Administrator
Administrator

Problem with average

Good to all,

I come up against a problem that I'm not able to solve that has to do with averages:

I need a matrix, in which two columns appear (one with the average of the 2020 data and one with the average of the 2021 data to date). The rows would be two, one called D and one O, which are the types of text that are in the column from which I want to get the data. Such as:

acf24_0-1629891252267.png

I tried to create an array and in values I was trying to put a measure with average but I don't realize how I can do it. The data I have are as follows:

A column named Classification, where the data is D or O.

Another column called Date, where is the exact date (type xx/yy/zzz).

Another column called Date (Month/Year), where the exact date is (type zzzz/yy).

What I need is the average D and O per year.

Thanks a lot!!!

3 REPLIES 3
v-luwang-msft
Community Support
Community Support

Hi 

Could you pls share your pbix file and remove confidential data.

The picture is not clear.

 

 

Best Regards

Lucien

Syndicate_Admin
Administrator
Administrator

acf24_0-1629893469075.png

acf24_1-1629893546531.png

The table I want to get the data from is like this. And what I need is the average for years for each attribute (deviation, observation)

Thank you!!

Thejeswar
Super User
Super User

Hi @Syndicate_Admin ,

There could be different ways to solve this.

 

If you can share the sample data that on which this has to be done, it will be helpful for the ppl here to solve your query

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.