Learning to Calculate Averages in Power BI While Excluding Zero Values
You can use the following syntax in DAX to calculate the average value in a column while ignoring any values equal to zero: Avg Points = CALCULATE ( AVERAGE ( ‘my_data'[Points] ), FILTER ( ‘my_data’, ‘my_data'[Points] <> 0 ) ) This particular example creates a new measure named Avg Points that calculates the average value […]
Learning to Calculate Averages in Power BI While Excluding Zero Values Read More »