Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
Hi Guys,
I have an issue I need to solve and it is like this:
Level name | Minimum Value | Maximum Value |
Level 1 | 0 | 999.99 |
Level 2 | 1000 | 2599.99 |
Level 3 | 2600 | 4999.99 |
Level 4 | 5000 | 999999.99 |
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....
Solved! Go to Solution.
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
Hi @srdjanmish
srdjanmish's suggestion should be helpful.
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..
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
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
90 | |
82 | |
65 | |
51 | |
31 |
User | Count |
---|---|
117 | |
116 | |
71 | |
64 | |
39 |