March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch 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
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
115 | |
76 | |
57 | |
52 | |
44 |
User | Count |
---|---|
164 | |
116 | |
63 | |
57 | |
50 |