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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

use column name as slicer and it should linked with donuts chart

Hi All, I want to create a slicer where column name will inserted as slicer and when I click on slicer it should change the data in donuts. I don't want to use multiple charts and want to sow only one chart but it should change when i click on slicer(columns Name)

 

Please see the screenshot below where is have shown my whole data. I am not sure where to upload PBIx file and attaching screeshot here.. Here is the table:

BadgeIDJob TitleCountryFirstNameLastNameBoothNumberBooth NameDuration Seconds
123EngineerUSAabcWoods27Booth 1600
456EngineerGermanydefWoods27Booth 1480
789EngineerIndiaghiSa27Booth 11320
532Chief Information OfficerUSAjklVa14Booth 2240
1182304Operations ManagerUSAChetManchester21Booth 3980
1182523Account ManagerUSATravisFulton21Booth 31080
1182657Senior EngineerIndiaLuisaSangines21Booth 31680
1182879EngineerUSAMarkSkallet21Booth 3480
1149995AnalystUSAMeganHemmila37Booth 41200
1149995AnalystIndiaMeganHemmila37Booth 42280
1150180Architect|PartnerIndiaHoaTram37Booth 41200
1150180Architect|PartnerGermanyHoaTram37Booth 4480
117Senior EngineerUSApqrPa14Booth 2360

 

Here is the screenshot for my problem:

Slicer by Column Name.png

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous,

 

I'm pretty sure this could be done with DAX but my skills aren't sufficient.

 

However there is a workaround, but it still includes 2 charts:

  • You could create two bookmarks and link the buttons (Job title / Country) to these bookmarks
  • These bookmarks would be the same but one would show just the job title donut and the other one would show the country donut
  • This would create the effect that there was only one donut.

Here's a reference

 

Hope this helps.

 

Br,

T

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hi @Anonymous,

 

I'm pretty sure this could be done with DAX but my skills aren't sufficient.

 

However there is a workaround, but it still includes 2 charts:

  • You could create two bookmarks and link the buttons (Job title / Country) to these bookmarks
  • These bookmarks would be the same but one would show just the job title donut and the other one would show the country donut
  • This would create the effect that there was only one donut.

Here's a reference

 

Hope this helps.

 

Br,

T

Anonymous
Not applicable

@Anonymous This trick worked like a charm! Thank you very much. I will really appriciate if PowerBI make it more simple.

Anonymous
Not applicable

@Anonymous

Glad I could help! Be sure to mark my answer as a solution if it solved your problem.

 

Br,

 

T

Anonymous
Not applicable

@AnonymousDone!

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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