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.
I have a table
Which i want to show as Visualisation Table with zero value as average per product catagory.
Expected visualization
Solved! Go to Solution.
Follow steps:
1. Replace Value '0' to 'null'.
2. Create a New Measure
Measure = IF( SUM('Table'[Value]) = 0, CALCULATE(AVERAGEA('Table'[Value]), REMOVEFILTERS('Table'[Customer])), SUM('Table'[Value]) );
use if condition to achive this.
here is example:
AverageAmount =
IF(
SUM('YourTable'[Amount]) = 0,
AVERAGE('YourTable'[Amount]),
SUM('YourTable'[Amount])
)