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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
I calculate averages in my table and also I want a Total average from those averages.
But sometime I have no value, then then total average must give the total average from the other averages without the blank.
Below is an example where you see an Total average of 1.6 (8+0+0+0+0/5 = 1.6).
But I want this Total number to be 8 (8+0+0+0+0/1).
What to do?
Thanks
Hi @pvravestein
You can follow the below approach as well:
Unvpivot your columns in Power Query or you can create new table using the below dax.
@pvravestein , Try like
averagex(filter(Table, Table[Col1]<> 0 && not(isblank(Table[Col1]))),[Table[Col1]])
Great, thanks. But forgive me, I am new to DAX and I cannot get it to work.
My table name is change, column names are on top of my screenshot. What will it look like with all data?
Many thanks
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
User | Count |
---|---|
10 | |
7 | |
5 | |
4 | |
3 |
User | Count |
---|---|
12 | |
12 | |
10 | |
9 | |
9 |