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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi All, I have a distinct count "New column"
Solved! Go to Solution.
Hi @Anonymous ,
Please delete that calculated column and try to recreate a new calculated column with below formula:
distinctcount__ =
CALCULATE (
DISTINCTCOUNT ( HistoricalBO[Index] ),
FILTER (
'HistoricalBO',
'HistoricalBO'[Year] = EARLIER ( 'HistoricalBO'[Year] )
)
)If the above one still get blank values, please provide some sample data in your model(exclude sensitive data). Thank you.
Best Regards
Rena
@camargos88
Three columns. year, item , index( as a unique row reference)
I want to get how many items in a year. so I counted the index in a new column.
@camargos88 only one table , 3 columns, no data model applied. no filter applied in the page.
Hi @Anonymous ,
Please delete that calculated column and try to recreate a new calculated column with below formula:
distinctcount__ =
CALCULATE (
DISTINCTCOUNT ( HistoricalBO[Index] ),
FILTER (
'HistoricalBO',
'HistoricalBO'[Year] = EARLIER ( 'HistoricalBO'[Year] )
)
)If the above one still get blank values, please provide some sample data in your model(exclude sensitive data). Thank you.
Best Regards
Rena
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 103 | |
| 80 | |
| 62 | |
| 50 | |
| 45 |