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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
srutiR2403
Frequent Visitor

Possible to have pie chart valued switch between count and sum with slicer

  •  

when I choose slicer as count then the pie chart should give me the count of claims.When I choose slicer as amount then the pie chart should give me the sum of amount in pie chart

 

srutiR2403_0-1707224277421.png

 

Output should be like the below

srutiR2403_1-1707224277423.png

 

 

1 ACCEPTED SOLUTION
ray_aramburo
Super User
Super User

You can do that with field parameters. Create a measure for count and a measure for sum. Then create a field parameter containing those 2 measures and use it within your field.

See more details on the process on how to create them here.

Find attached as well a sample file for your guidance I created with the dummy data you provided.





Did I answer your question? Give your kudos and mark my post as a solution!

Proud to be a Super User!





View solution in original post

1 REPLY 1
ray_aramburo
Super User
Super User

You can do that with field parameters. Create a measure for count and a measure for sum. Then create a field parameter containing those 2 measures and use it within your field.

See more details on the process on how to create them here.

Find attached as well a sample file for your guidance I created with the dummy data you provided.





Did I answer your question? Give your kudos and mark my post as a solution!

Proud to be a Super User!





Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors