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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
jfranco
Frequent Visitor

User input to drive column result

Hello.

 

Looking for advice/help from the knowledge base.  I am trying to create a measure that affects a column, based on user (slicer) input.

 

The columns are as follows:

 

jfranco_0-1715006772652.png

 

 

 

I have set up "single" select slicers for ProducerLocation & Product as well as a slicer for a step change (from -20% to 20%) using 

Step_Change = GENERATESERIES(-.20, .20, 0.005)

 

My goal is to change the volume by the selected percentage of a specific selection of Producer/Location/Product.

But not affect all volumes just the ones that meet such criteria.

 

I have been using :

 

IF (selectedvalue(customer)= MAX(customer(from a column)) && selectedvalue(location)= MAX(location(from a column), MAX(volume(from a column))*(1+selectedvalue(%_Change)), MAX(volume(from a column))

 

But it either changes all the volumes or none (depending on the slicer connections/interactions).

 

The link to sample pbix, is Volume Change PBIX 

1 ACCEPTED SOLUTION
MFelix
Super User
Super User

Hi @jfranco ,

 

If you want to select the values from the slicers and having it working you need to do separate tables for each of the variables and then use those tables on the slicers and has filter on the metric, all your slicer need to filter the table:

 

MFelix_1-1715008074031.png

 


Regards

Miguel Félix


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

Proud to be a Super User!

Check out my blog: Power BI em Português



View solution in original post

2 REPLIES 2
MFelix
Super User
Super User

Hi @jfranco ,

 

If you want to select the values from the slicers and having it working you need to do separate tables for each of the variables and then use those tables on the slicers and has filter on the metric, all your slicer need to filter the table:

 

MFelix_1-1715008074031.png

 


Regards

Miguel Félix


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

Proud to be a Super User!

Check out my blog: Power BI em Português



@MFelix Thank you!

I have been battling this for over a week.

You sir, are a true scholar and a gentleman

Gracias

Roger

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

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 community update carousel

Fabric Community Update - June 2025

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