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!
I have a price list like this
and I have a sell table
The final table should be like this
I have created a key-word "product_date" --> for example a_05/2020 or a_07/2020 but I don't know how connect key-words without connection.
Have you some ideas?
Thank you all
Solved! Go to Solution.
@giuliapiazza94 This is essentially Lookup Min/Max: https://community.powerbi.com/t5/Quick-Measures-Gallery/Lookup-Min-Max/m-p/985814#M434
So, in your case:
Column =
VAR __Date = 'SELL'[date]
VAR __Product = 'SELL'[product]
VAR __PriceDate = MAXX(FILTER('Table-Price',[product]=__Product && [date]<=__Date),[date])
RETURN
MAXX(FILTER('Table-Price',[product]=__Product && [date]=__PriceDate),[price])
@giuliapiazza94 This is essentially Lookup Min/Max: https://community.powerbi.com/t5/Quick-Measures-Gallery/Lookup-Min-Max/m-p/985814#M434
So, in your case:
Column =
VAR __Date = 'SELL'[date]
VAR __Product = 'SELL'[product]
VAR __PriceDate = MAXX(FILTER('Table-Price',[product]=__Product && [date]<=__Date),[date])
RETURN
MAXX(FILTER('Table-Price',[product]=__Product && [date]=__PriceDate),[price])
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 |
|---|---|
| 16 | |
| 12 | |
| 9 | |
| 7 | |
| 6 |