Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
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 |
|---|---|
| 11 | |
| 9 | |
| 8 | |
| 7 | |
| 6 |