Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
srdjanmish
Helper I
Helper I

RELATED Column with between condition

Hi Guys,

 

I have an issue I need to solve and it is like this:

 

  • In first table I have levels of, for example, expertise, based on point system, and it is like:

 

Level nameMinimum ValueMaximum Value
Level 10999.99
Level 210002599.99
Level 326004999.99
Level 45000999999.99

 

  • In second table I have collected experience, per person, employee. It has simple Name and SUM of Points

I need some way to add third column to second table, and that column represents Level name, based on value of collected points, and that value belongs to scale in first table. I know how to make it in SQL, I know there is, always, function IF, but first table is dynamic (tomorrow there can be 6 levels), it changes per month...

 

Thanks in advance....

1 ACCEPTED SOLUTION
az38
Community Champion
Community Champion

Hi @srdjanmish 

try a new measure

Measure = 
calculate(
FIRSTNONBLANK('Table'[Level name];1);FILTER(ALL('Table');[YOURVALUE]>='Table'[Minimum Value] && [YOURVALUE]<='Table'[Maximum Value]
)

do not hesitate to give a kudo to useful posts and mark solutions as solution


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

View solution in original post

3 REPLIES 3
v-juanli-msft
Community Support
Community Support

Hi @srdjanmish 

srdjanmish's suggestion should be helpful.

 
If it is sloved, could you kindly accept it as a solution to close this case?
If not, please feel free to let me know.
 
Best Regards
Maggie

Hi,

 

I am in middle of transfering and modeling data for this example, and, as soon as I get to test it, I vil give feedback. I think this is OK, and it will work..

az38
Community Champion
Community Champion

Hi @srdjanmish 

try a new measure

Measure = 
calculate(
FIRSTNONBLANK('Table'[Level name];1);FILTER(ALL('Table');[YOURVALUE]>='Table'[Minimum Value] && [YOURVALUE]<='Table'[Maximum Value]
)

do not hesitate to give a kudo to useful posts and mark solutions as solution


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.