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 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