This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Hi-
I am sending RFQs to 7 vendors and I am tyring to create a data base that will refresh as prices come in. I would like to only pull in the minimum price value if the minimum is greater than 0. If it is not greater than zero I would like it to pull the next lowest price.
I have the data broken up by ID number "LONG DESCRIPTION" then a table associated with each ID number "Table 1".
Can someone please help me find a way to provide the all information asscoicated with the lowest price for each ID number?
Solved! Go to Solution.
Hi @gsp35 ,
Please refer to:
let
Source = #table({"LONG DESCRIPTION","Table 1"},{{"AA",#table({"ID #","PRICE"},{{1,20},{1,40},{1,30},{1,15},{1,60},{1,0},{1,50}})},{"BB",#table({"ID #","PRICE"},{{1,20},{1,40},{2,30},{2,15},{3,60},{3,0},{3,50}})},{"CC",#table({"ID #","PRICE"},{{1,20},{1,10},{2,30},{2,15},{1,60},{1,1},{1,50}})}}),
#"Added Custom" = Table.TransformColumns(Source,{"Table 1", each Table.Group(Table.SelectRows(_,each _[PRICE]>0),{"ID #"},{{"Min Price", each List.Min(_[PRICE]), type number}})})
in
#"Added Custom"
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data in the Power BI Forum
Hi @gsp35 ,
Please refer to:
let
Source = #table({"LONG DESCRIPTION","Table 1"},{{"AA",#table({"ID #","PRICE"},{{1,20},{1,40},{1,30},{1,15},{1,60},{1,0},{1,50}})},{"BB",#table({"ID #","PRICE"},{{1,20},{1,40},{2,30},{2,15},{3,60},{3,0},{3,50}})},{"CC",#table({"ID #","PRICE"},{{1,20},{1,10},{2,30},{2,15},{1,60},{1,1},{1,50}})}}),
#"Added Custom" = Table.TransformColumns(Source,{"Table 1", each Table.Group(Table.SelectRows(_,each _[PRICE]>0),{"ID #"},{{"Min Price", each List.Min(_[PRICE]), type number}})})
in
#"Added Custom"
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data in the Power BI Forum
Please provide sample data (with sensitive information removed) that covers your issue or question completely, in a usable format (not as a screenshot). Leave out anything not related to the issue.
If you are unsure how to do that please refer to https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...
Please show the expected outcome based on the sample data you provided.
If you want to get answers faster please refer to https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.