Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi, I would like to add an Average Column at the end of this table. Could someone please help?
The rows are 1and2, column is New_Month and Value is Acctamt.
Some of the months do not have values for instance total average of the first row below should be -677.39(Total) / 3(number of month that have values)
Solved! Go to Solution.
AverageColumn =
IF( HASONEVALUE('Table'[New_Month]),
IF( 'Table'[New_Month] IN {"1", "2"}, DIVIDE( SUM('Table'[Acctamt]), COUNTROWS(FILTER('Table', 'Table'[New_Month] IN {"1", "2"})) ),
BLANK() ),
BLANK() )
AverageColumn =
IF( HASONEVALUE('Table'[New_Month]),
IF( 'Table'[New_Month] IN {"1", "2"}, DIVIDE( SUM('Table'[Acctamt]), COUNTROWS(FILTER('Table', 'Table'[New_Month] IN {"1", "2"})) ),
BLANK() ),
BLANK() )
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 |
|---|---|
| 21 | |
| 10 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 34 | |
| 31 | |
| 20 | |
| 13 | |
| 12 |