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

The Fabric Community site will be in read-only mode on Monday, Feb 24 from 12:01 AM to 8 AM PST for scheduled upgrades.

Reply
manubk
Helper I
Helper I

Average of Two columns by adding the second Column First row to the First Column

Hi Team,

 

I tried differet ways to get Average for the below data but was not possible to get the Dax foumula. Could some one help me in cracking this problem.

 

I have two columns named Checking as First column and First date Min as Second Column.

 

Problem - I need to get average by  considering the  First date Min column first row data in Checking column

 

Below is the example 

 

manubk_0-1739792347786.png

  

manubk_1-1739792372717.png

 

 

It need to get average as below 

 

manubk_3-1739792489335.png

 

1 ACCEPTED SOLUTION

Make sure you are creating it as measure

arvindsingh802_0-1739807765908.png

 


If this post helps, then please consider Accept it as the solution, Appreciate your Kudos!!
Proud to be a Super User!!

View solution in original post

5 REPLIES 5
manubk
Helper I
Helper I

@v-vpabbu  Marked as Accept as Solution.. Thanks for helping 

v-vpabbu
Community Support
Community Support

Hi @manubk,

 

Thanks @arvindsingh802  for Addressing the issue.

 

we would like to follow up to see if the solution provided by the super user resolved your issue. Please let us know if you need any further assistance.
If our super user response resolved your issue, please mark it as "Accept as solution" and click "Yes" if you found it helpful.

 

Regards,
Vinay Pabbu

arvindsingh802
Super User
Super User

Not sure with your context, but if only need Average as highlighted then use below
Average = DIVIDE(SUM('Table'[Checking])+FIRSTNONBLANK('Table'[First date Min],TRUE()),COUNT('Table'[Checking ])+1)


If this post helps, then please consider Accept it as the solution, Appreciate your Kudos!!
Proud to be a Super User!!

@arvindsingh802  Thanks for your reply .. When i tried using the above formula value is getting 228120 as average .. Which i am supposed to get 523762 as above mentioned .. Can you please check and confirm 

 

 

Make sure you are creating it as measure

arvindsingh802_0-1739807765908.png

 


If this post helps, then please consider Accept it as the solution, Appreciate your Kudos!!
Proud to be a Super User!!

Helpful resources

Announcements
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!

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Feb2025 NL Carousel

Fabric Community Update - February 2025

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