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
Hi
I have a table that consists of 2 columns (Type,Value) there are some values that are blank means they are Zeros
I want to calculate the average of values including the blanks (ex Average of type A = (0.5+0.2+0)/3 not (0.5 +0.2)/2
I tried
| type | value |
| A | 0.5 |
| A | 0.2 |
| A | |
| B | 0.8 |
| B | 0.1 |
| C | |
| D | 0.3 |
| E | 0.4 |
| F | 0.2 |
| F |
Solved! Go to Solution.
values ignores blanks, it would be best to set those blank values to 0 or use distinctcount which counts blanks
Proud to be a Super User!
values ignores blanks, it would be best to set those blank values to 0 or use distinctcount which counts blanks
Proud to be a Super User!
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 40 | |
| 35 | |
| 34 | |
| 31 | |
| 28 |
| User | Count |
|---|---|
| 136 | |
| 102 | |
| 68 | |
| 66 | |
| 58 |