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 August 31st. Request your voucher.
Hello Community,
We are looking for a way to visualize resource conflicts within a project timeline, similar to a Gantt chart, but with additional capabilities.
Our goal is to create a visual that:
Essentially, we want to detect and visualize "resource conflicts" where a resource is scheduled for a task but also marked as absent (due to vacation, sick leave, etc.) during that same period.
Any ideas, suggestions, or examples of how this could be achieved in Power BI (perhaps with custom visuals, DAX logic, or specific chart types) would be greatly appreciated!
Thanks to the entire community for your help!
Solved! Go to Solution.
Hi @PowerB_han,
Thank you @rohit1991 @jaineshp @kushanNa, for your helpful insights.
I recreated your scenario in Power BI Desktop using sample data and implemented the conflict detection logic with a calculated column instead of a measure. You don’t need the premium xViz Gantt visual everything can be achieved using native visuals like a Table or Matrix to display tasks along with their conflict status.
Belos is the pbic file for your reference.
Thank you.
Many thanks to all that helped me on this topic.
Problem has been solved!
Hi @PowerB_han,
Checking in to see if your issue has been resolved. let us know if you still need any assistance.
Thank you.
hi @PowerB_han
Are you looking for an output similar to this?
Please note that this is not a Power BI visual; I’m just trying to get an idea of what you are looking for here.
Thank you for your response.
It's still not entirely clear to me how you implement the logic.
(Key DAX Logic)
Is this only possible with the Premium version?
Are there ways to display this with a free visual?
It doesn't necessarily have to be a Gantt chart; we are concerned with detecting resource conflicts.
Thank you in advance!
Hi @PowerB_han,
Thank you @rohit1991 @jaineshp @kushanNa, for your helpful insights.
I recreated your scenario in Power BI Desktop using sample data and implemented the conflict detection logic with a calculated column instead of a measure. You don’t need the premium xViz Gantt visual everything can be achieved using native visuals like a Table or Matrix to display tasks along with their conflict status.
Belos is the pbic file for your reference.
Thank you.
Hey @v-saisrao-msft,
Thank you for the kind recognition - always happy to contribute to our community's success!
Best Regards,
Jainesh Poojara | Power BI Developer
Hi @PowerB_han
You can achieve this using the xViz Gantt Chart in Power BI.
Append your Tasks and Absences into one table with Resource, Event Type, Start Date, and End Date.
Create a conflict flag (using DAX or Power Query) to detect overlaps between task and absence dates for the same resource.
In the xViz Gantt visual, use conditional formatting to color tasks differently when there's a conflict, and assign a separate color to absence blocks.
Optionally, add tooltips or icons to clearly indicate the overlapping period.
This setup will let you visualize tasks and absences together and clearly highlight conflicts directly on the timeline.
Hey @PowerB_han,
I've worked on similar requirements in my organization and here's what we implemented successfully:
Data Structure We Used
Additionally: - Start simple and add complexity gradually. Users need time to adapt to new visuals.
Hope this helps with your project! Let me know how it goes.
Fixed? ✓ Mark it • Share it • Help others!
Best Regards,
Jainesh Poojara | Power BI Developer