Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello, I would like to have a measure that counts the total number of distinct dates appearing in each month regardless if a person has a value for a date or not. Thank you
Here's the table
Solved! Go to Solution.
@Anonymous Maybe:
Nb of days measure =
CALCULATE(DISTINCTCOUNT('Table'[Date]),REMOVEFILTER('Table'[Name]))
@Anonymous Maybe:
Nb of days measure =
CALCULATE(DISTINCTCOUNT('Table'[Date]),REMOVEFILTER('Table'[Name]))
Hi @Greg_Deckler , it seems there's something I have trouble grasping with remove filters. In the example, I would like to have 9 instead of 4 and 5 (so the total number of different dates in all the months). I thought that adding 'Table'[date] to remove filters would do the trick but the result stays de same. Do you know how I need to tweak my measure? Thank you
calculate(DISTINCTCOUNT('Table'[Date]),REMOVEFILTERS('Table'[name],'Table'[date]))
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.