Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. 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] ) ).
User | Count |
---|---|
21 | |
14 | |
11 | |
7 | |
5 |
User | Count |
---|---|
23 | |
23 | |
20 | |
15 | |
10 |