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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Hernán
Frequent Visitor

Average all values in a column and show the las period with data DAX or Power Query

Hello everyone,

 

I hope you are doing great!

I need help in DAX or Power Query.

I need to calculate:

  • The average in the column C (all values in column C,  all months).
  • The average in each value in column C by month.
  • The score the last month with data.

I have a matrix with a measure that have a score , thus:

 

Image1. Matrix

matrix.PNG

Image2. The data used in the matrix

columns and measure in the matrix.PNG

 

Image3. Measure "Score S"

Measure used in the matrix.PNG

 

Image4. The relationships.

relationships.PNG

 

Image5. I expected that two tables.

I expected:

I expected.PNG

 

Attached the .pbix

 

Thank you so much for your help!

 

Regards,

Hernán Montoya

2 REPLIES 2
Anonymous
Not applicable

Hi @Hernán ,

I'm a little confused about below two needs, Could you please explain them further?

vbinbinyumsft_0-1669365738102.png

Thanks for your efforts & time in advance.

 

Best regards,
Community Support Team_ Binbin Yu

Hello @Anonymous ,

 

I'm sorry for reply so late.

 

Image1. I need to have a calculate column o measure with the Row Totals  and Column Total.

matrix.PNG

In a nutshell, I need  to create two matrix:

  • First matrix with Row Total how in the image1 (above) and
  • Second matrix with Column Totals (image1).

In the final, the twice matrix will see how the image5(image here below)

Image5. I need to use the new calculate columns or measure with the averages.

I expected.PNG

Thank you so much for your help!

 

Best Regards,

Hernán Montoya

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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