Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
JennyMilf
Helper I
Helper I

Dynamically changing visual based gantt chart selection

Hi everyone,

I’m currently using the Gantt Chart by MAQ Software, and I’m looking for assistance in developing a dynamic visual that updates based on the selection in the Gantt chart.

Example:

  • When selecting "Business Analyst" in the Gantt chart, the report should display Selection 01 chart and hide or disable Selection 02 chart.
  • When selecting "Leader Engineer" in the Gantt chart, the report should display Selection 02 chart and hide or disable Selection 01 chart.

Can anyone please help me to implement it? Thanks

JennyMilf_0-1742524646567.png

Please refer to my dashboard to download the necessary files

1 ACCEPTED SOLUTION
SamWiseOwl
Super User
Super User

Hi @JennyMilf 
You could use DAX to hide the data when the relevant piece is clicked:

SamWiseOwl_0-1742547517600.png

Hide sections Business =
if(
    SELECTEDVALUE('Table'[Team Involved ]) <> "Business Analyst"
    ,Count('Table'[Task])
    ,BLANK()
    )
 
Hide sections Engineer =
if(
    SELECTEDVALUE('Table'[Team Involved ]) <> "Lead Engineer"
    ,SUM('Table'[Cost])
    ,BLANK()
    )
 
You would also need to change the Title to hide the text.
 
 

If you are happy with this answer please mark as a solution for others to find !

Kudos are always appreciated! Check out our free Power BI video courses.

View solution in original post

4 REPLIES 4
v-veshwara-msft
Community Support
Community Support

Hi @JennyMilf ,

Following up to see if your query has been resolved. If any of the responses helped, please consider marking the relevant reply as the 'Accepted Solution' to assist others with similar questions.

If you're still facing issues, feel free to reach out.

Thank you.

v-veshwara-msft
Community Support
Community Support

Hi @JennyMilf ,

Just checking in to see if you query is resolved and if any responses were helpful. If so, kindly consider marking the helpful reply as 'Accepted Solution' to help others with similar queries. 

Otherwise, feel free to reach out for further assistance.

Thank you.

v-veshwara-msft
Community Support
Community Support

Hi @JennyMilf ,

Thank you for engaging with the Microsoft Fabric Community.

Just following up to check if your query has been resolved and whether the response from @SamWiseOwl  was helpful. If so, please consider marking the helpful replies as Accepted Solutions to assist others with similar queries. If further assistance is needed, please reach out.
Thank you.

SamWiseOwl
Super User
Super User

Hi @JennyMilf 
You could use DAX to hide the data when the relevant piece is clicked:

SamWiseOwl_0-1742547517600.png

Hide sections Business =
if(
    SELECTEDVALUE('Table'[Team Involved ]) <> "Business Analyst"
    ,Count('Table'[Task])
    ,BLANK()
    )
 
Hide sections Engineer =
if(
    SELECTEDVALUE('Table'[Team Involved ]) <> "Lead Engineer"
    ,SUM('Table'[Cost])
    ,BLANK()
    )
 
You would also need to change the Title to hide the text.
 
 

If you are happy with this answer please mark as a solution for others to find !

Kudos are always appreciated! Check out our free Power BI video courses.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.