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!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi all!
I am trying to rebuild a SQL in Power BI as a data model.
I was able to rebuild all Left Joins but stucked by a INNER JOIN that has a BETWEEN statement:
INNER JOIN Table1 ON (Table2.ID =Table1.ID and Table2.ID2 between Table1.ID_A and Table1.ID_B)
How would you rebuild this in a DataModel?
Hi Joshua,
try to reference the Table1 and filter it with the value that you need (x > id_a and x < id_b) on the specific column
Use this result table to do the inner (function merge query) between the table2 and the new table1 filtered (that contains only the value between you want to do the inner).
If you can post the pbix i can do it for you.
Thank you
Luca D'Elicio
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 52 | |
| 50 | |
| 34 | |
| 15 | |
| 14 |
| User | Count |
|---|---|
| 92 | |
| 77 | |
| 41 | |
| 26 | |
| 25 |