Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
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 ()
)
)