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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
Marcegon
Helper II
Helper II

How to add an average measure between (2) columns

Hi, I am trying to add a new measure with the average of issues between (2) columns (see below).  

 

# of Issues - Dec# of Issues - JanAverage of Issues
715 
35 
107 

 

Any help will be appreciated.  Thank you.  

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Marcegon ,

Please try below steps:

1. below is my test table

Table:

vbinbinyumsft_0-1704261781750.png

2. create a measure with below dax formula

Measure =
VAR _dec =
    SELECTEDVALUE ( 'Table'[#of Issues - Dec] )
VAR _jan =
    SELECTEDVALUE ( 'Table'[# of Issues - Jan] )
RETURN
    DIVIDE ( _dec + _jan, 2 )

3. add a table visual with fields and measure

vbinbinyumsft_1-1704261838661.png

Please refer the attached .pbix file.

 

Best regards,
Community Support Team_Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

5 REPLIES 5
Anonymous
Not applicable

Hi @Marcegon ,

Please try below steps:

1. below is my test table

Table:

vbinbinyumsft_0-1704261781750.png

2. create a measure with below dax formula

Measure =
VAR _dec =
    SELECTEDVALUE ( 'Table'[#of Issues - Dec] )
VAR _jan =
    SELECTEDVALUE ( 'Table'[# of Issues - Jan] )
RETURN
    DIVIDE ( _dec + _jan, 2 )

3. add a table visual with fields and measure

vbinbinyumsft_1-1704261838661.png

Please refer the attached .pbix file.

 

Best regards,
Community Support Team_Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Sorry.  Forgot to mention that no matter the numbers in the (2) columns, I am getting "0, 1, and 2s"

 

Thank you! 

Hi, I accepted this as a solution, but I just realized it is not giving me the correct numbers.  Could you please let me know what I did wrong?  See my measure below:

 

Average Issues =
VAR _Current =
    SELECTEDVALUE ('Managed vs Issues - To Date'[Issues - To Date])
VAR _Previous =
    SELECTEDVALUE ('Managed vs Issues - Previous'[Issues - Previous Month])
RETURN
    DIVIDE ( _Current + _Previous, 2 )

Sorry.  Forgot to mention that no matter the numbers in the (2) columns, I am getting "0, 1, and 2s"

 

Thank you! 

Anonymous
Not applicable

Issue Avg = AVERAGEX(Issues, 'Issues'[# of Issues] + 'Issues'[Dec# of Issues])

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

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

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.