Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
We are a financial institution.
Looking to do an interest rate study per loan type.
We want to use what-if parameter slicers to study loan rate changes on recent bookings like this:
how might i have separate what-if parameters per loan type adjust each loan type respectively?
I was thinking loan-type VAR cast in a measure, but cannot get it to work!
Thanks for your help,
Ian
Solved! Go to Solution.
Hi @iantemte ,
According to your description, I think you want to create two parameters, one for the local loan rate changes and another for abroad loan rate changes, if this is the case, here's my solution.
Create two what-if parameters.
Create two measures.
Rate Hypothetical delta =
SWITCH (
MAX ( 'Table'[Loan Type] ),
"Local Loans", 'Local'[Parameter Value],
"Abroad loans", 'Abroad'[Parameter Value 2]
)
New Rate = MAX('Table'[Recent booking rate])+'Table'[Rate Hypothetical delta]
Get the result.
I attach my sample below for reference.
Best Regards,
Community Support Team _ kalyj
If this post helps, then please considerAccept it as the solution to help the other members find it more quickly.
Hi @iantemte ,
According to your description, I think you want to create two parameters, one for the local loan rate changes and another for abroad loan rate changes, if this is the case, here's my solution.
Create two what-if parameters.
Create two measures.
Rate Hypothetical delta =
SWITCH (
MAX ( 'Table'[Loan Type] ),
"Local Loans", 'Local'[Parameter Value],
"Abroad loans", 'Abroad'[Parameter Value 2]
)
New Rate = MAX('Table'[Recent booking rate])+'Table'[Rate Hypothetical delta]
Get the result.
I attach my sample below for reference.
Best Regards,
Community Support Team _ kalyj
If this post helps, then please considerAccept it as the solution to help the other members find it more quickly.
@iantemte did you test what I proposed? From your reply, it is not clear if you test what I provided?
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
@iantemte you can easily do this, let's say you have two what-if parameters, loan type 1 and loan type 2
and this is what you will do in your measure:
Loan Rate Change =
VAR __loanType = SELECTEDVALUE ( Table[LoanType] )
RETURN
SWITCH ( __loanType,
"Local Loans", [Loan Type 1 Value],
"Abroad Loans", [Loan Type 2 Value],
0 --else value
)
New Rate =
MAX ( Table[Recent Booking Rate] ) + [Loan Rate Change]
I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!
⚡ Visit us at https://perytus.com, your one-stop shop for Power BI-related projects/training/consultancy.
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
Please let me clarify:
i have recently booked an amount @ a given rate in 2 loan types.
i want to theorize profitability if my given rate was at an adjusted rate per loan type.
i want rates to be adjusted with what-ifs generated by GENERATESERIES
the rate displayed by the GENERATESERIES is picked by a slider using a SELECTEDVALUE measure.
how do i allow myself to pick different alternate rates per loan type with corresponding sliders?
ie: slider 1 affects LOCAL LOANS and slider 2 affects ABROAD LOANS.
NEW RATE is simplY SELECTEDVALUE + RECENT BOOKING RATE