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
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])
)
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 |
|---|---|
| 169 | |
| 109 | |
| 91 | |
| 55 | |
| 44 |