Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi,
Hoping you may be able to help with some DAX...see screenshot below...
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
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?
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.
@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
User | Count |
---|---|
22 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
25 | |
13 | |
11 | |
9 | |
6 |