powerquery automation

How to Calculate Fees Automatically by Grade and Amount Range with Power Query

minbe-data 2026. 5. 30. 18:47

thumnail

 

Many pricing tables use both grade levels and amount ranges to determine fees.

For example, the fee may vary depending on:

- Customer Grade
- Contract Amount
- Loan Amount
- Sales Amount
- Property Value

In this example, Power Query automatically finds the correct fee by comparing the selected Grade and Base Amount against a predefined fee table.

The result updates automatically whenever the input values change.

This method is useful for fee calculation systems, commission tables, pricing models, and Excel automation projects.

 

result snapshot

 

videolink - https://youtu.be/D7-f21KyYgU

 

explanation.txt
0.00MB

 

 

Download the sample file below.

You can download the zip file in [Download] page

The file name is 46.fee_by_amount_range.zip.

Use the English M code provided for your dataset.

You may need to manipulate the M code under your circumstance. You consider this point and use M code

below txt file is detailed-explanation. You use M code in reference with this explanation.

 

---------------------------------------------------------

Need a custom automation for your Excel workflow?

I can build a tailored solution based on your data.

✔ Used in real-world business automation  
✔ Saves hours of manual work

minbedata@gmail.com

You can pay via PayPal.

You don't worry about conversing with me.

My Major is an English literature, so I can speak English fluently and read, listening, writing proficiently

korean version web address (한국버전) is 

<a href="https://blog.naver.com/minbe-data" target="_blank">네이버 블로그 바로가기</a>