Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Vossberger
Regular Visitor

Calculation within Scaling model

Hi,

 

I'm trying to implement a calculating "Scaling Modell" and do not find a solution how to deal with it.

 

Example :

 

SUM of Sales ist 1'234  and I'm willing to use that value to determine a percentige within a table  (could contain much more

thresholds), in this case 3.5% would be the result, or with Sales of 1'001 = 2.5%.

 

 

SUM SalesRebate
      9002.0%
    1'0002.5%
    1'1003.0%
    1'2003.5%
    1'3004.5%
    1'4005.0%
       ...   ...

 

Does anybody have a solution for me?

 

KR

7 REPLIES 7
Bmejia
Super User
Super User

Hopefully something like this helps.

1. Create a Total Sales Measure something like this:

Total Sales Amount =
CALCULATE(
    SUM(Sales[Total Sales Amount]))
2. Create a new column something like this:
Resulting Rebate =
If(
    [Total Sales Amount]>=Scaling_Table[Sales] ,
    Scaling_Table[Rebate],
    BLANK()
    )    
Bmejia_1-1681328860847.png

 

3. Insert a card and enter the Resulting Rebate and Show only the Last Value.. You can also create a measure that gives you the max value.

Bmejia_0-1681328805204.png

 

Thank you very much Bmejia, I somehow found out how to deal with your input 🙂 and it is working.

 

Anyhow my issue now is that I cant apply 4 different filters (Calender ranges(variable), and different types of flags) on this calculation and I have to find out if I can handle it with the function keepfilteers.

 

Kind Regards

Vossberger
Regular Visitor

 

This is how I would do it in Excel (VLookup formula)

 

Vossberger_0-1679913374176.png

 

@Vossberger ,

Still I could not understand, sorry. If you could add more details in a detailed manner may be that would help.

Thanks,

Arul





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


LinkedIn


Well I don't know how to describe it to you .... maybe the picture helps. I'm missing a formula (yellow box).

 

Vossberger_0-1681313616669.png

 

Vossberger
Regular Visitor

Hi Arul,

 

I have a "Rebate Scaling Table" (as shown above) - I am looking for a formula that will then match a SUM out of a Sales formula to this "Rebate Scaling Table" and use the correct/corresponding percentage to calculate.

 

 

Arul
Super User
Super User

@Vossberger ,

Do you want to calculate percentage of sales out of total?

Thanks,

Arul





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


LinkedIn


Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors