The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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;
Customer | Loan | Value | LTV | Value changed with a slicer in % | LTV after change in value |
1 | 10 | 25 | 0,4 | =value*1-slicer value | =Loan/Value changed with a slicer in% |
2 | 25 | 30 | 0,833333 | =value*1-slicer value | =Loan/Value changed with a slicer in% |
3 | 20 | 18 | 1,111111 | =value*1-slicer value | =Loan/Value changed with a slicer in% |
4 | 50 | 78 | 0,641026 | =value*1-slicer value | =Loan/Value changed with a slicer in% |
5 | 12 | 10 | 1,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:)
Solved! Go to Solution.
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.
->
And this is the output that I've got :-
Try this and let me know if this works or not.
Happy to help.
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.
->
And this is the output that I've got :-
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.
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?
You'll have to make the measures in the report view.
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.
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
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
User | Count |
---|---|
78 | |
74 | |
42 | |
32 | |
28 |
User | Count |
---|---|
104 | |
93 | |
52 | |
50 | |
46 |