Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
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.
Solved! Go to Solution.
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.
Best Regards,
Jay
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.
Best Regards,
Jay
@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
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 92 | |
| 70 | |
| 50 | |
| 40 | |
| 35 |