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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 20 | |
| 11 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 31 | |
| 29 | |
| 21 | |
| 12 | |
| 12 |