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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Reply
kelly008
Helper I
Helper I

Gantt Chart Slider Issue

Hello,

 

I am currently making a Gantt chart to look at upcoming projects, from looking around it seems the best solution for this is via a data matrix. After building this I realised that there is a max of 100 columns so in order to combat this I want to be able to use a slider filter so can you see 100 days at a time.

 

However, the slider doesnt seem to be affecting the columns at all, and just changes the row data? Yet a standard dropdown filter does:

Report unfiltered:

kelly008_0-1669105925762.png

 

Report Filtered by Slider:

kelly008_1-1669105956549.png

 

Report filtered by Year & Month dropdown Filter:

kelly008_2-1669106032759.png

 

Is there a way to get the slider to change the columns? Or does anyone know of a better method I can use to combat the limitations of the Data Matrix max columns?

Any help would be greatly appreciated.

Thanks!

1 ACCEPTED SOLUTION
v-yueyunzh-msft
Community Support
Community Support

Hi, @kelly008 

According to your description, you want to control the number of your columns by date, right?
For your problem, you can modify the value you placed with the measure.
When your date exists in the slicer selection range, the corresponding value value is returned. If it is not in range, return BLANK(), then BLANK's words will not be displayed.

 

Thank you for your time and sharing, and thank you for your support and understanding of PowerBI! 

 

Best Regards,

Aniya Zhang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

View solution in original post

1 REPLY 1
v-yueyunzh-msft
Community Support
Community Support

Hi, @kelly008 

According to your description, you want to control the number of your columns by date, right?
For your problem, you can modify the value you placed with the measure.
When your date exists in the slicer selection range, the corresponding value value is returned. If it is not in range, return BLANK(), then BLANK's words will not be displayed.

 

Thank you for your time and sharing, and thank you for your support and understanding of PowerBI! 

 

Best Regards,

Aniya Zhang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

Helpful resources

Announcements
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

Check out the February 2024 Power BI update to learn about new features.

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.