cancel
Showing results for 
Search instead for 
Did you mean: 
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...



Features || Datamarts: https://youtu.be/8tskWsJTEpg || Field Parameters : https://youtu.be/lqF3Wa1FllE?t=70
Learn Power BI P&L Statement || Time Intelligence Decoded : https://youtu.be/aU2aKbnHuWs&t=145s ||
Did I answer your question? Mark my post as a solution! Appreciate your Kudos !! Proud to be a Super User! !!
Dashboard of My Blogs !! Connect on Linkedin !! Subscribe to my youtube Channel !!!! How to get Quick Help !!
Resources | Master Power BI !! Expertise Power BI !! Power BI For Tableau User !!

Helpful resources

Announcements
November 2022 Update

Check it Out!

Click here to read more about the November 2022 updates!

Difinity Conference

Difinity Conference 2022

Difinity is the largest Microsoft Data, AI, Power BI, Power Platform and Business Applications Conference in New Zealand.

European Share Point Conference

European Share Point Conference

This conference returns live and in-person in Copenhagen this 28 November-01 December with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Microsoft 365 Conference â__ December 6-8, 2022

Microsoft 365 Conference - 06-08 December

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Top Solution Authors