The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Running into an issue where "Visual exceeded available resources" if i don't filter the data for viewing.
All data is within a single table.
This how the table looks like when filtered by Name
Here is the DAX:
Duration From Previous Task =
VAR _CurrentTaskTime =
CALCULATE ( SELECTEDVALUE ( 'task'[Created On] ) )
VAR _PreviousTaskTime =
CALCULATE (
MAX ( 'task'[Created On] ),
ALLEXCEPT ( 'task', 'task'[lead.fullname] ),
'task'[Created On] < _CurrentTaskTime
)
VAR _timeDifference =
IF (
ISBLANK ( _PreviousTaskTime ),
0,
DATEDIFF ( _PreviousTaskTime, _CurrentTaskTime,DAY )
)
RETURN
_timeDifference
Hi @nic_k the link below could help, I hope
Proud to be a Super User!
User | Count |
---|---|
15 | |
12 | |
8 | |
7 | |
7 |
User | Count |
---|---|
24 | |
21 | |
12 | |
10 | |
7 |