This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Hello Team,
Can someone help to support this issue?
I have 2 tables as below:
Table "Factor List":
Table "Individual" :
The column "Factor" in red is the result that I wanted.
The result column is base on Department, Role and Target% to find the data range in Table "Factor",
Then capture the lower level value if didn't meet Target%.
Is this possible in Power BI?
Thank you in advance!
Solved! Go to Solution.
you can create a column
Column =
var _target=maxx(FILTER('Factor List','Factor List'[Department]='Individual'[Department]&&'Factor List'[Role]=Individual[Role]&&'Factor List'[Target%]<='Individual'[Target%]),'Factor List'[Target%])
return maxx(FILTER('Factor List','Factor List'[Department]=Individual[Department]&&'Factor List'[Role]=Individual[Role]&&'Factor List'[Target%]=_target),'Factor List'[Factor])
pls see the attachment below
Proud to be a Super User!
you can create a column
Column =
var _target=maxx(FILTER('Factor List','Factor List'[Department]='Individual'[Department]&&'Factor List'[Role]=Individual[Role]&&'Factor List'[Target%]<='Individual'[Target%]),'Factor List'[Target%])
return maxx(FILTER('Factor List','Factor List'[Department]=Individual[Department]&&'Factor List'[Role]=Individual[Role]&&'Factor List'[Target%]=_target),'Factor List'[Factor])
pls see the attachment below
Proud to be a Super User!
Hello Ryan,
Thanks a lot for your solution!
you are welcome
Proud to be a Super User!
Hi @Allan_Zeng
Please use
Factor =
VAR CurrentDepartment = Individual[Department]
VAR CurrentRole = Individual[Role]
VAR CurrentTarget = Individual[Target%]
VAR FactorList =
FILTER (
'Factor List',
'Factor List'[Department] = CurrentDepartment
&& 'Factor List'[Role] = CurrentRole
)
VAR T1 =
ADDCOLUMNS (
FactorList,
"@Difference", ABS ( 'Factor List'[Target%] - CurrentTarget )
)
VAR T2 =
TOPN ( 1, T1, [@Difference], ASC )
RETURN
MAXX ( T2, [Factor] )
Hllo @tamerj1 ,
Thank you so much for your promopt reply!
While I find there is something wrong as below.
Would you please help to double check?
Thank you!
Hi @tamerj1 ,
Thank you so much for your promopt reply!
While I find there is something wrong as below.
Would you please help to check?
Thank you!
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 32 | |
| 26 | |
| 25 | |
| 24 | |
| 15 |
| User | Count |
|---|---|
| 61 | |
| 48 | |
| 26 | |
| 21 | |
| 20 |