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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join 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 is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.