Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
I have a list of price per supplier and i need to determine the best supplier based on price, i need to do a division between min price and next min price , to get the % of variance . Can someone please help?
Supplier Price Variance
1 100
2 101 what i need is ( 101/100-1)
3 120 (120/101-1)
and so one
Solved! Go to Solution.
Hi @Anonymous ,
Do you mean to find the variance in each product?
You could refer to the following column:
Column 2 =
VAR a =
CALCULATE (
MIN ( 'Table'[Total Price] ),
ALLEXCEPT ( 'Table', 'Table'[Product] )
)
RETURN
'Table'[Total Price] / a - 1
To prevent misunderstanding, I created another two columns for your reference (Column1 & Column3).
Here is my test file.
@Anonymous , I do see any mention of items or material. But I used Item in the formula, Create new column
new column =
var _min =minx(filter(Table,[item]=earlier[item]),[Price])
return
if([Price]=_min,blank(),divide([Price],_min))
without item
new column =
var _min =minx(Table,[Price])
return
if([Price]=_min,blank(),divide([Price],_min))
Yes, I have a supplier and a product , the price is for the product. I need to get the % variance between the chepeast one to the next and so on.
| Supplier | Product | Price | Qty | Total Price | This is what i need | |
| 1 | Product A | $3,317.27 | 80 | $53,166 | ||
| 2 | Product A | $3,425.03 | 80 | $54,609 | (54609/53166-1) | |
| 3 | Product A | $3,941.00 | 80 | $63,430 | (63430/53166-1) | |
| and so on | ||||||
| 1 | Product b | $6,461.59 | 94 | $121,702 | ||
| 2 | Product b | $12,536.69 | 94 | $234,382 | ||
| 3 | Product b | $13,715.15 | 94 | $256,124 | ||
| 1 | Product C | $8,852.51 | 75 | $132,975 | ||
| 2 | Product C | $9,347.37 | 75 | $139,893 | ||
| 3 | Product C | $9,870.85 | 75 | $146,686 | ||
| 1 | Product D | $5,103.99 | 1000 | $1,022,955 | ||
| 2 | Product D | $5,254.12 | 1000 | $1,047,235 | ||
| 3 | Product D | $5,526.34 | 1000 | $1,104,031 |
Hi @Anonymous ,
Do you mean to find the variance in each product?
You could refer to the following column:
Column 2 =
VAR a =
CALCULATE (
MIN ( 'Table'[Total Price] ),
ALLEXCEPT ( 'Table', 'Table'[Product] )
)
RETURN
'Table'[Total Price] / a - 1
To prevent misunderstanding, I created another two columns for your reference (Column1 & Column3).
Here is my test file.
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 45 | |
| 38 | |
| 34 | |
| 21 | |
| 17 |
| User | Count |
|---|---|
| 66 | |
| 65 | |
| 31 | |
| 26 | |
| 26 |