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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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