Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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 |
---|---|
25 | |
12 | |
8 | |
6 | |
6 |
User | Count |
---|---|
26 | |
12 | |
11 | |
8 | |
7 |