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
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...

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.

Top Solution Authors