The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
hi !
I wanted to get the first TimeSheet date encoded by every employee.
Solved! Go to Solution.
Hi @fsim
ALLEXCEPT can take a mixture of column & table references for arguments 2+.
So you could write this to ensure any filters from the 'Date' table are retained:
mindate =
CALCULATE (
MIN ( TS[msdyn_date] ),
ALLEXCEPT ( TS, TS[msdyn_bookableresource], 'Date' )
)
Does this achieve the result you are wanting?
Regards,
Owen
Hi @fsim
ALLEXCEPT can take a mixture of column & table references for arguments 2+.
So you could write this to ensure any filters from the 'Date' table are retained:
mindate =
CALCULATE (
MIN ( TS[msdyn_date] ),
ALLEXCEPT ( TS, TS[msdyn_bookableresource], 'Date' )
)
Does this achieve the result you are wanting?
Regards,
Owen
it worked.
I don't know why I wanted to add a column instead of a full table. Thank you !
User | Count |
---|---|
25 | |
10 | |
8 | |
6 | |
5 |
User | Count |
---|---|
31 | |
10 | |
10 | |
10 | |
9 |