Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
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!
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 45 | |
| 43 | |
| 38 | |
| 19 | |
| 15 |
| User | Count |
|---|---|
| 67 | |
| 66 | |
| 31 | |
| 28 | |
| 24 |