Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
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!
User | Count |
---|---|
89 | |
82 | |
51 | |
40 | |
35 |