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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

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 REPLY 1
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
March PBI video - carousel

Power BI Monthly Update - March 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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

Top Solution Authors
Top Kudoed Authors