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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Anonymous
Not applicable

Slider with the values in a Matrix Table

Hello.

I have an issue with my current Power BI module. I have created a matrix table. In this table I have put the a column called population in households. I then created a parameter with a slider that is a percentage between 0%-100%. The Parameter is called Population When I created a measure called Adjusted Weighted Population. The formula went like this Adjusted weighted Population=Sumx(all_states_mobility, all_states_mobility[Population in households] * )1+Population[Population Value]. I then created a new column called Adjusted Population. The formula for that column goes like this 

Adjusted Population = All_states_Mobility[Adjusted weighted Population]. 
 
What confuses me, is when I go to the matrix table and try add the adjusted population column and change the slider nothing happens, all the values are fixed to the original values of the population in households columns. However if I add the measure weighted adjusted population, I can adjust the slider and watch the values change. Can anybody explain to me why it works like this, and how I can columns to react to sliders like this moving forward?

 

What I am trying to accomplish is to be able to change the value on the slider and have the values in the column on the matrix table change as well. The purpose of a slider is to demonstrate the weight of a category such as Population in Households. I plan on creating slider as weights for other categories but need to figure out how this works. Please let me know.

1 REPLY 1
ValtteriN
Super User
Super User

Hi,

Here is how I would approach these kind of custom slicers:

Demo data:

ValtteriN_0-1702541833435.png

Now in my example I will filter the values which are greater than 0.7 when multiplied by two. This is different than in your example, but the way I will create this slicer can be applied to your case as well.


Slicer:

ValtteriN_1-1702541996424.png

Dax:

Filter measure for matrix = IF(MAX('Table (17)'[Value])*2>[Filter for values greater than this Value],1,0)



Now we will place this measure to the matrix as a filter:

ValtteriN_2-1702542154257.png

When the parameter is adjusted the values change:

ValtteriN_3-1702542192844.png

I hope this post helps to solve your issue and if it does consider accepting it as a solution and giving the post a thumbs up!

My LinkedIn: https://www.linkedin.com/in/n%C3%A4ttiahov-00001/





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




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.

Top Solution Authors