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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
pradeepiqss
Frequent Visitor

Allow users to select visual type in the report

Hi All,

 

We need to provide an option for the user to select the visual/chart type in the report. For example a report has 3 visuals being displayed, we require an option to choose the visual/chart type (like bar, pie, line) to change for each visual in the report. 

 

The visual A is currently displaying the bar chart, the user should be able to select a pie chart in slicer or other way and the visual should change to pie chart. 

 

How can this be accomplished?

 

Can you please help on this.

6 REPLIES 6
v-yulgu-msft
Employee
Employee

Hi @pradeepiqss,

 

Power BI doesn't supports to dynamically change visual type depend on slicer selection. As a workaround, you could try bookmarks as suggested by t_R.

 

Regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Hi @pradeepiqss,

 

You can achieve something like this with buttons and bookmarks --> different bookmarks display different charts at the click of a button.

 

Here's a reference illustrating the idea.

 

Hope this helps.

 

Br,

T

Hi,

Thanks a lot for the article, i am able to change the chart type when the button is clicked. How ever when i click on button to change the chart type in one visual, the other visuals in report page reset back to old chart type.

 

I tried with 'Selected Visuals' option in book mark but still it does not work. Can you please help.

Anonymous
Not applicable

Hi @pradeepiqss,

 

I'm happy to help but I am having trouble fully understanding your needs..

Can you post images displaying what is now happening and what you would want to happen when a button is clicked?

 

Br,

T

 

 

Hi,

 

In the report page i have 3 visuals with 1st visual - bar, 2nd visual - Pie and 3rd visual, see screenshot below:

 

1.png

When i click on 'Line' button for 2nd visual, it changes to line chart, see screenshot below:

2.png

Next, when click on 'Pie' button in 1st visual, the 2nd visual which was showing line graph changes or resets back to Pie chart, see screenshot below:

3.png

 

I tried by updating a bookmark with 'selected visual' option for buttons related to 1st visual at the top of page, but still does not work.

Anonymous
Not applicable

Hi @pradeepiqss,

 

I duplicated your report and tried to get it working but unfortunately to no success... I don't think it is possible to keep the other visuals from changing back to their default, because that would mean your bookmarks would have to dynamically change based on the visuals "selected".

 

I'm afraid I can't help. Maybe you can try changing your report so that there's only one visual selection per page or then make do with what you got.

 

Br,

 

T

 

 

 

 

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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