The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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] ) ).
User | Count |
---|---|
26 | |
10 | |
8 | |
6 | |
6 |
User | Count |
---|---|
31 | |
12 | |
10 | |
10 | |
9 |