Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hey All!
This is my measure:
Solved! Go to Solution.
If that is the problem, then you could try this:
Net USD average per Day =
VAR NetPerDay =
ADDCOLUMNS (
VALUES ( 'Date'[Date] ),
"Net", CALCULATE ( SUM ( 'Revenues DB'[Net USD] ) )
)
RETURN
AVERAGEX ( FILTER ( NetPerDay, NOT ( ISBLANK ( [Net] ) ) ), [Net] )
I'm pretty sure AVERAGEX already ignores blank values though, so it might be zero values tripping you up rather than blank values. In this case, you could filter for [Net] > 0 rather than NOT ISBLANK ( [Net] ) ).
If that is the problem, then you could try this:
Net USD average per Day =
VAR NetPerDay =
ADDCOLUMNS (
VALUES ( 'Date'[Date] ),
"Net", CALCULATE ( SUM ( 'Revenues DB'[Net USD] ) )
)
RETURN
AVERAGEX ( FILTER ( NetPerDay, NOT ( ISBLANK ( [Net] ) ) ), [Net] )
I'm pretty sure AVERAGEX already ignores blank values though, so it might be zero values tripping you up rather than blank values. In this case, you could filter for [Net] > 0 rather than NOT ISBLANK ( [Net] ) ).
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 5 | |
| 5 | |
| 3 | |
| 3 | |
| 2 |
| User | Count |
|---|---|
| 12 | |
| 11 | |
| 10 | |
| 7 | |
| 6 |