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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
nbs333
Frequent Visitor

Field Parameter not showing totals

Hi, I am trying to create a table where the user can select the columns in the table based on a slicer. I am using a field parameter to do this and it works well but there are no totals in the final table. 

 

I made sure options for totals is selected but it still doesn't work. Since the values of the table are the field parameter there is no option to change the parameter to sum. 

 

Additionally, I can't use IF and HASVALUEON to summarized the data because the parameter is a string.

 

Any idea how I can add the total row? 

2 REPLIES 2
nbs333
Frequent Visitor

@amitchandak thank you for the reply and great Medium post! Learned a lot about field parameters

 

I was able to impletment the measure you described but it doesn't exactly give me what I'm looking for. Is it possible to use the field parameter to return multiple columns instead of just one?

 

amitchandak
Super User
Super User

@nbs333 , Based on what I got.

 

Selected value you can get like

 

What is selected = maxx(filter('Axis Slicer', 'Axis Slicer'[Axis Slicer Order]= SELECTEDVALUE('Axis Slicer'[Axis Slicer Order])),'Axis Slicer'[Axis Slicer])

 

 

refer

https://medium.com/@amitchandak/power-bi-field-parameters-a-quick-way-for-dynamic-visuals-fc4095ae9a...

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.