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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
nor303
Helper III
Helper III

I need to change value with help of a slicer

Hi

 

I want to calculate a new value of LTV with help of a Slicer in percent. I tried to make the slicer as a table. Ive tried to do this several of ways but none seems to work. Any good ideas on how to do this?

 

Here is how I think it should look like;

CustomerLoanValueLTVValue changed with a slicer in %LTV after change in value
      
110250,4=value*1-slicer value=Loan/Value changed with a slicer in%
225300,833333=value*1-slicer value=Loan/Value changed with a slicer in%
320181,111111=value*1-slicer value=Loan/Value changed with a slicer in%
450780,641026=value*1-slicer value=Loan/Value changed with a slicer in%
512101,2=value*1-slicer value=Loan/Value changed with a slicer in%

 

However if its possible to make this in a cleaner way that would be great. I have not used power query since Im not so familiar with that yet, but this would be a repetitive task so I guess it would be great to "automate" this if possible. 

 

THanks:)

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hey @nor303 , For this you'll have to make a seperate table of slicer values and this table should not be related to any other table in your data model. After this you'll need the following measures.

-> 

LTV = DIVIDE(SUM('Slicer Change'[Loan]), SUM('Slicer Change'[Value]))
->
Value Change With Slicer = SUM('Slicer Change'[Value]) * (1 - SELECTEDVALUE('Slicer Values'[Slicer Value]))
->
LTV Changed = DIVIDE(SUM('Slicer Change'[Loan]), [Value Change With Slicer])
 
This is the dataset that I've used.
punitkhatri_0-1690461510447.png

 

punitkhatri_2-1690461556010.png

 

And this is the output that I've got :-

 

punitkhatri_3-1690461598370.png

Try this and let me know if this works or not.

Happy to help.

View solution in original post

12 REPLIES 12
Anonymous
Not applicable

Hey @nor303 , For this you'll have to make a seperate table of slicer values and this table should not be related to any other table in your data model. After this you'll need the following measures.

-> 

LTV = DIVIDE(SUM('Slicer Change'[Loan]), SUM('Slicer Change'[Value]))
->
Value Change With Slicer = SUM('Slicer Change'[Value]) * (1 - SELECTEDVALUE('Slicer Values'[Slicer Value]))
->
LTV Changed = DIVIDE(SUM('Slicer Change'[Loan]), [Value Change With Slicer])
 
This is the dataset that I've used.
punitkhatri_0-1690461510447.png

 

punitkhatri_2-1690461556010.png

 

And this is the output that I've got :-

 

punitkhatri_3-1690461598370.png

Try this and let me know if this works or not.

Happy to help.

Hi again, I have a follow up on this. Is it possible to group the LTV changed in intervalls? And after that present the Loan in the different intervalls? And finally if I chose more than one slicer value, can I get the different results shown side by side in a clustered column chart? That would have been awesome!

Hi again

 

This seems to work, thank you! But can I easy use these measures over several of sheets? I will have new data where I would like to do this each month in a effective way.

Anonymous
Not applicable

Yes you can.

Ok thats good to hear, how can I do this? Sorry for all the questions:)

Hi 

 

Thank you! Seems like the solutions Im looking for.

 

Im sorry, but Im totally new to this. I make this measures in the "Report view" section? Not a new column in the data view section? 

 

Anonymous
Not applicable

You'll have to make the measures in the report view.

DataVitalizer
Super User
Super User

Hi @nor303 

You can create a column with numerical values which will represent the percent, whenever you select a value it will be reflected in your calculated measure.

The steps are available here.

Did it work ?  ‌‌ Mark it as a solution to help spreaing knowledge
Was this exchange helpful ? A kudos 👍 would be appreciated

Hi, thanks:) But I got an error trying to open the link. 404 to be exact.

nor303
Helper III
Helper III

And to be more specific; the slicer Ive made looks like this in a table:

 

LTV endring% change
 -1,00
 -0,75
 -0,50
 -0,30
 -0,25
 -0,20
 -0,15
 -0,10
 -0,05
 0,00
 0,05
 0,10
 0,15
 0,20
 0,25
 0,30
 0,50
 0,75
 1,00

My bad here is the full link https://learn.microsoft.com/en-us/power-bi/transform-model/desktop-what-if 

Make sure to create the field as below to get decimal numbers

othy_bi_0-1690461222981.png

 

Did it work ?  ‌‌ Mark it as a solution to help spreading knowledge
Was this exchange helpful? A kudos 👍 would be appreciated

@nor303  Any update?

Did it work ?  ‌‌ Mark it as a solution to help spreading knowledge
Was this exchange helpful? A kudos 👍 would be appreciated

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.