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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Vanessa250919
Helper V
Helper V

IF condition multiple

Hello COmmunity,

 

I try to used IF with multiple condition but does't worked ...

AmountPrime = IF([Med%]>1.15,"5โ‚ฌ", [Med%] >1.2,"20โ‚ฌ")
 
I need MED% < 115% = NOT
MED%>= 115% = 5โ‚ฌ
MED% >120% = 10โ‚ฌ
 
It's possible ? 
3 REPLIES 3
BeaBF
Super User
Super User

You need to create a concatenation of IF conditions, as follows:

IF(Table[MED] < 1.15, "NOT", IF(Table[MED] >= 1.15 || Table[MED] < 1.20, "5 euro", IF(Table[MED] > 1.20, "10 euro", BLANK())))
 
is that what you wanted?
B.
 

@BeaBF Yes it's that but I a big isssue if I make a formule with < it's not ok and > it's ok check my printscreen

>

Vanessa250919_0-1631817413472.png

<

Vanessa250919_1-1631817435741.png

I don't know why ... it's same with SWITCH(TRUE 

BeaBF
Super User
Super User

Try this formula, where the first condition makes you avoid considering blanks:
IF(ISBLANK(Tabella[Med%]), BLANK(), IF( Tabella[Med%] < 1.15, "NOT", IF(Tabella[Med%] >= 1.15 || Tabella[Med%] < 1.20, "5 euro", IF(Tabella[Med%] > 1.20, "10 euro", BLANK()))))
 
It works?
B.

Helpful resources

Announcements
November Fabric Update Carousel

Fabric Monthly Update - November 2025

Check out the November 2025 Fabric update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Users online (27)