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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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 ()
)
)
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 14 | |
| 7 | |
| 4 | |
| 4 | |
| 3 |
| User | Count |
|---|---|
| 23 | |
| 10 | |
| 10 | |
| 6 | |
| 5 |