cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

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
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors