Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Consider the Table1 below; my expected output is a calculated column/measure with three fields indicating "Inadequate Colleteral, Adequate Colleteral and Not Applicable" i.e. based on the below conditions.
My formula for calculated column did not work, kindly assist.
Loan Amount | Collateral Amount | Client ID | Product ID | Expected Output |
200 | 300 | X1 | 2222 | Not Applicable |
100 | 400 | X3 | 3333 | Adequate Colleteral |
600 | 200 | X4 | 4444 | Not Applicable |
300 | 450 | X6 | 5555 | Adequate Colleteral |
100 | 0 | X7 | 6666 | Inadequate Colleteral |
400 | 400 | X9 | 2222 | Inadequate Colleteral |
Solved! Go to Solution.
I have added the expected Output, the last column to the right
Hi @hosea_chumba ,
Please try this:-
Column =
SWITCH(TRUE(),
'Table'[Product ID ] in {2222,4444},"Not Applicable",
DIVIDE('Table'[Collateral Amount],'Table'[Loan Amount],0)*100 >= 150,"Adequate colleteral",
"Inadequate colleteral")
Thanks,
Samarth
Best Regards,
Samarth
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin
Hi @hosea_chumba ,
Please try this:-
Column =
SWITCH(TRUE(),
'Table'[Product ID ] in {2222,4444},"Not Applicable",
DIVIDE('Table'[Collateral Amount],'Table'[Loan Amount],0)*100 >= 150,"Adequate colleteral",
"Inadequate colleteral")
Thanks,
Samarth
Best Regards,
Samarth
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin
Hi @hosea_chumba
Kindly add the expected results in an additional column to the same sample data with explanation.
Thank you.
I have added the expected Output, the last column to the right
User | Count |
---|---|
15 | |
11 | |
6 | |
6 | |
5 |
User | Count |
---|---|
29 | |
17 | |
11 | |
7 | |
5 |