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!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
Hi gurus,
I was wondering is it possible to create a custom column which compares if a value existed between two other numbers rather than comparing >, =, <, <=, >=?
so I have 2 tables, one table is like a DIM table and I want to create a custom column that shows a string instead if a number in my Fact table existed in between of each range of numbers?
How to do it?
Thanks
Hi @Anonymous
I think I know what you are after.
You can set the lower than and greater than to variables, these variables can be either a measure you set or a calculated, or taken from the table. then if the number in that row is between those 2 numbers display text. Again this can be set or taken from the fact table.
@Anonymous Thanks!
I think I should have been more clear because this is not exactly the solution!
My fact data is in a different table and the dimension that it should be compared to is in another table so it is not possible to just go ahead with this solution
I would appreciate the gurus reply please?
Many thanks
your desctiption is not very clear, but it sounds doable you just do the regular comparison of < > joined with the AND operator
Cna you share few sample rows from your tables to visualize the problem better?
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.