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 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.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.