Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreShape the future of the Fabric Community! Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions. Take survey.
Hi All,
I'm trying to create an Average for a count distinct on a time series data, using the below formula i managed to create an Average line
I'm expecting the end result to look like this
Thanks,
Naveen
Solved! Go to Solution.
Hi @navenn08
Please try
AVG_RECEIPTS =
IF (
[TOT_REC] <> BLANK (),
CALCULATE (
AVERAGEX (
VALUES ( 'DATE'[Date] ),
CALCULATE ( DISTINCTCOUNT ( CO_DLY_sample[CLM_NUMBER] ) )
),
ALLSELECTED ()
)
)
Hi @navenn08
Please try
AVG_RECEIPTS =
IF (
[TOT_REC] <> BLANK (),
CALCULATE (
AVERAGEX (
VALUES ( 'DATE'[Date] ),
CALCULATE ( DISTINCTCOUNT ( CO_DLY_sample[CLM_NUMBER] ) )
),
ALLSELECTED ()
)
)
User | Count |
---|---|
25 | |
21 | |
20 | |
13 | |
12 |
User | Count |
---|---|
40 | |
28 | |
28 | |
22 | |
21 |