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!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
Hi Good day,
Pls need assistance on how can i have the Overall output on my table base from average.
a. If the Fab column is 0 it will average by 3 three column (JC, Fab and Mat).
b. if the Fab column is Blank it will average by two column (JC and Mat).
Thank you
Solved! Go to Solution.
Hi @Anonymous thank you, working perfectly.
Hi @AllanBerces
In addition to the anwer provided by @Ritaf1983 , I'd like to present you another way as there are multiple ways to achive your required output. One way is convert your pivoted table to a long unpivoted table using Power Query's unpivot other column function which will supress blank rows as a default, and then you can write an averagex dax measure as shown below.
I attach an example pbix file.
Best regards,
Hi @AllanBerces
You can use the formula :
pbix is attached
Hi @Ritaf1983 Thank you for you reply
i just notice theres something wrong on the column, the value of 2 instead of 72 and 94.
Thank you
There was a "writer error " .
' instead of +
The correct formula is :
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.