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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
Aikeno
Helper I
Helper I

Button to format visualization

Hello,

 

I use a gantt in my report, my goal is to help users to view easily what they need.

I would like to allow them to format the date type between weeks and months (see picture) by using a button, I know it works with filters but didnt find information about visualization.

Aikeno_1-1686296226509.png

 

Thanks in advance for your help !

1 ACCEPTED SOLUTION
Adescrit
Impactful Individual
Impactful Individual

Hi @Aikeno 

My apologies. I realise my mistake. You will need to create two visuals - one formatted by month and one formatted by week. Then use the bookmarks to show/hide the visuals. On each bookmark you would need to select both visuals in the Selections pane and ensure "Selected visuals" is ticket in your bookmark settings.


Did I answer your question? Mark my post as a solution!
My LinkedIn

View solution in original post

4 REPLIES 4
Adescrit
Impactful Individual
Impactful Individual

Hi @Aikeno 

You could consider creating two bookmarks, one in which the visual is formatted by week, and one in which the visual is formatted by month. Then add these bookmarks to your report page as buttons, allowing the user to select between the two options. 

When creating the bookmarks, be sure to have the selection pane open. Select the Gantt visual, and from the settings of the bookmark choose the option "Selected visuals" and not "All visuals".


Did I answer your question? Mark my post as a solution!
My LinkedIn

I have make as you said but It doesn't work on my side.

Adescrit
Impactful Individual
Impactful Individual

Hi @Aikeno 

My apologies. I realise my mistake. You will need to create two visuals - one formatted by month and one formatted by week. Then use the bookmarks to show/hide the visuals. On each bookmark you would need to select both visuals in the Selections pane and ensure "Selected visuals" is ticket in your bookmark settings.


Did I answer your question? Mark my post as a solution!
My LinkedIn

No problem, thanks a lot for your help !

Helpful resources

Announcements
Fabric Data Days is here Carousel

Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.