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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Anonymous
Not applicable

Updating column values with manually input values from slicer

Hi,

 

Hoping you may be able to help with some DAX...see screenshot below...

 

PeteS_0-1614951476706.png

So you can see that the slicer is able to update the parameter value column based on what the user inputs, but it obviously creates these across the grouped Schools. I can create a number of slicers to reflect the number of schools, but then would have to created a number of measures and additional columns to populate the information. There must be a better way of doing this, so that a number of slicers can be updated relevant to the School, but there's only one column to show the slicer input value. Or is this just not possible?

 

Thanks

 

4 REPLIES 4
Anonymous
Not applicable

@HotChilli 

 

Hi,


I created a new table with the following DAX...


Parameter = GENERATESERIES(0, 40, 1)

in order that users can input values of interger 1, up to 40, in the slicer and created the following measure

Parameter Value = SELECTEDVALUE('Parameter)'[Value])

for the Parameter Value column.

The values don't really matter, they can be anything, but for each subject, they will likely all be different.

Hope this answers your questions?

Anonymous
Not applicable

Hi @HotChilli 

 

Thanks for the advice. Excuse the formatting but if I paste a table in, it comes back with a HTML error. I wan to go from this...

 

Subject (Grouped) Staff FTE inc Vacancies (Central) Parameter Value
Broadcast Production 6 30
Celtic Studies 3 30
Drama 11 30
English 34 30
Film 10 30
French 10 30
Music 15 30
Spanish & Portuguese 9 30
Translation and Interpreting 6 30

 

to this...

 


Subject (Grouped) Staff FTE inc Vacancies (Central) Parameter Value
Broadcast Production 6 45
Celtic Studies 3 25
Drama 11 26
English 34 35
Film 10 50
French 10 12
Music 15 14
Spanish & Portuguese 9 16
Translation and Interpreting 6 14

 

This is how I would like the data displayed, with each value in the parameter field amended, based on what is input into the slicer, bearing in mind there will always be different values. As mentioned above, I envisage multiple slicers, but hopefully just one Parameter Value column for each of the grouped subjects.

 

Where are these new parameter values coming from? Your question says it comes from a slicer but how does each subject link to the new value?

For example, why does French ->12

 

Hopefully if you can answer that it will clarify how the slicer gets populated too.

HotChilli
Super User
Super User

@Anonymous 

I think you'll have to reformulate the question if you want an answer.

We need to see the raw data (sample is better than a picture), data model and the desired outcome please

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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