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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Hi
I have a list (SalesList) with sales values
I have another table (Table1) with two column (SalesFrom & SalesTo)
i need a custom column in Table1 , filter value from SalesList greter than SalesFrom and less than SalesTo then count.
and another custom column filter value from SalesList greter than SalesFrom and less than SalesTo then Sum.
i tried with first adding SalesList
= Table.AddColumn(#"Changed Type", "Custom", each SalesList)
then i use filter
= Table.AddColumn(#"Added Custom", "Custom.1", each List.Select([Custom], each _ > [Sales From])) <this return error
Solved! Go to Solution.
Please try this instead
= Table.AddColumn(#"Added Custom", "Custom.1", each let value = [Sales From] in List.Select([Custom], each _ > value))
Regards,
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
Hi
Thank you, code working fine...
my SalesList having 10k+ rows and Table1 having 20 rows, its too slow
Please try this instead
= Table.AddColumn(#"Added Custom", "Custom.1", each let value = [Sales From] in List.Select([Custom], each _ > value))
Regards,
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 11 | |
| 10 | |
| 6 | |
| 6 | |
| 6 |