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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
carlwright1234
New Member

Additional Average column

Hi

 

I am trying to add an additional Average per month column to a new table as shown in the spreadsheet below. So each month shows monthly sales, then a total per year column and then an average per month column - how can I add that average column?

 

Thanks for your help.

 

carlwright1234_0-1602757824470.png

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @carlwright1234 ,

 

Check the formula.

Column = 
'Table'[2020 total]
    / CALCULATE (
        COUNTROWS (
            FILTER (
                UNION (
                    SELECTCOLUMNS ( 'Table', "value", 'Table'[20-Jan] ),
                    SELECTCOLUMNS ( 'Table', "value", 'Table'[20-Feb] ),
                    SELECTCOLUMNS ( 'Table', "value", 'Table'[20-Mar] ),
                    SELECTCOLUMNS ( 'Table', "value", 'Table'[20-Apr] ),
                    SELECTCOLUMNS ( 'Table', "value", 'Table'[20-May] ),
                    SELECTCOLUMNS ( 'Table', "value", 'Table'[20-Jun] ),
                    SELECTCOLUMNS ( 'Table', "value", 'Table'[20-Jul] ),
                    SELECTCOLUMNS ( 'Table', "value", 'Table'[20-Aug] ),
                    SELECTCOLUMNS ( 'Table', "value", 'Table'[20-Sep] ),
                    SELECTCOLUMNS ( 'Table', "value", 'Table'[20-Oct] ),
                    SELECTCOLUMNS ( 'Table', "value", 'Table'[20-Nov] ),
                    SELECTCOLUMNS ( 'Table', "value", 'Table'[20-Dec] )
                ),
                [value] <> BLANK ()
            )
        )
    )

Result would be shown as below.

1.PNG

 

Best Regards,

Jay

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @carlwright1234 ,

 

Check the formula.

Column = 
'Table'[2020 total]
    / CALCULATE (
        COUNTROWS (
            FILTER (
                UNION (
                    SELECTCOLUMNS ( 'Table', "value", 'Table'[20-Jan] ),
                    SELECTCOLUMNS ( 'Table', "value", 'Table'[20-Feb] ),
                    SELECTCOLUMNS ( 'Table', "value", 'Table'[20-Mar] ),
                    SELECTCOLUMNS ( 'Table', "value", 'Table'[20-Apr] ),
                    SELECTCOLUMNS ( 'Table', "value", 'Table'[20-May] ),
                    SELECTCOLUMNS ( 'Table', "value", 'Table'[20-Jun] ),
                    SELECTCOLUMNS ( 'Table', "value", 'Table'[20-Jul] ),
                    SELECTCOLUMNS ( 'Table', "value", 'Table'[20-Aug] ),
                    SELECTCOLUMNS ( 'Table', "value", 'Table'[20-Sep] ),
                    SELECTCOLUMNS ( 'Table', "value", 'Table'[20-Oct] ),
                    SELECTCOLUMNS ( 'Table', "value", 'Table'[20-Nov] ),
                    SELECTCOLUMNS ( 'Table', "value", 'Table'[20-Dec] )
                ),
                [value] <> BLANK ()
            )
        )
    )

Result would be shown as below.

1.PNG

 

Best Regards,

Jay

amitchandak
Super User
Super User

@carlwright1234 , You can not add average at the end. 

 

But for Hybrid display with Matrix Column and measure  try
https://community.powerbi.com/t5/Community-Blog/Creating-a-custom-or-hybrid-matrix-in-PowerBI/ba-p/1...
https://community.powerbi.com/t5/Quick-Measures-Gallery/The-New-Hotness-Custom-Matrix-Hierarchy/m-p/...

 

and vote for Hybrid Table
https://ideas.powerbi.com/ideas/idea/?ideaid=9bc32b23-1eb1-4e74-8b34-349887b37ebc

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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.

Top Solution Authors