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!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Good afternoon
I'm stuck to make this formula. What I need is a different count of dates, but one that takes into account both the month and the id.
That is, in month 7, the 100 employee has been there for 3 days.
Would there be any way to put this double filter?.
It will make you catch the month filter:
But for the employee filter, you have to depend on each employee, not do a =100 (for example)
In other words, I don't want to:
Solved! Go to Solution.
@Anonymous,
Try this measure:
RESULTADO CONTAR DISTINTO =
CALCULATE (
DISTINCTCOUNT ( 'Production Data: Capacity Hours (Antonio)'[DAY] ),
ALLEXCEPT (
'Production Data: Capacity Hours (Antonio)',
'Production Data: Capacity Hours (Antonio)'[ID],
'Production Data: Capacity Hours (Antonio)'[MO]
)
)
Proud to be a Super User!
@Anonymous,
Try this measure:
RESULTADO CONTAR DISTINTO =
CALCULATE (
DISTINCTCOUNT ( 'Production Data: Capacity Hours (Antonio)'[DAY] ),
ALLEXCEPT (
'Production Data: Capacity Hours (Antonio)',
'Production Data: Capacity Hours (Antonio)'[ID],
'Production Data: Capacity Hours (Antonio)'[MO]
)
)
Proud to be a Super User!
That's great!!!
It works perfect. Thanks a lot!
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 52 | |
| 48 | |
| 38 | |
| 15 | |
| 14 |
| User | Count |
|---|---|
| 91 | |
| 77 | |
| 37 | |
| 27 | |
| 25 |