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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Good day, I need a measure that counts the number of lowest prices from each supplier, as in the table on the right:
Thanks
Solved! Go to Solution.
Hi @MatheusFraga ,
Please try code as below to create a measure.
Qt.Of best price =
VAR _SUMMARIZE =
SUMMARIZE (
FILTER (
ADDCOLUMNS (
'Table',
"Lowest Price", CALCULATE ( MIN ( 'Table'[Price] ), ALLEXCEPT ( 'Table', 'Table'[Product] ) )
),
[Price] = [Lowest Price]
),
[Supplier],
[Product],
[Price]
)
RETURN
COUNTAX ( _SUMMARIZE, [Product] ) + 0
Result is as below.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @MatheusFraga
Is there any creiteria that define number less then x is lower numbe
Yes, the column Product. I need the lowest price for each Product, then rank the Suppliers
Hi @MatheusFraga ,
Please try code as below to create a measure.
Qt.Of best price =
VAR _SUMMARIZE =
SUMMARIZE (
FILTER (
ADDCOLUMNS (
'Table',
"Lowest Price", CALCULATE ( MIN ( 'Table'[Price] ), ALLEXCEPT ( 'Table', 'Table'[Product] ) )
),
[Price] = [Lowest Price]
),
[Supplier],
[Product],
[Price]
)
RETURN
COUNTAX ( _SUMMARIZE, [Product] ) + 0
Result is as below.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
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 |
|---|---|
| 11 | |
| 9 | |
| 9 | |
| 6 | |
| 5 |
| User | Count |
|---|---|
| 27 | |
| 22 | |
| 19 | |
| 17 | |
| 11 |