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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Abdullah-Ultra
Frequent Visitor

Check Range in 2 Columns and get required output value

Hi Guys 

 

Please guide the query or way out to get the required output in Power BI

 

Thanks in advance

 

Funding %Winning %Required Output
100100High
10075High
10050Med
10025Low
1000Low
75100High
7575High
7550Med
7525Low
750Low
50100Med
5075Med
5050Med
5025Low
500Low
25100Low
2575Low
2550Low
2525Low
250Low
0100Low
075Low
050Low
025Low
00Low
1 ACCEPTED SOLUTION
v-zhangti
Community Support
Community Support

Hi, @Abdullah-Ultra 

 

You can try the following methods.

Column = SWITCH(TRUE(),
[Funding %]>=75&&[Winning %]>=75,"High",
[Funding %]>=50&&[Winning %]>=50,"Med",
"Low")

vzhangti_0-1698658856646.png

Is this the result you expect?

Best Regards,

Community Support Team _Charlotte

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

8 REPLIES 8
v-zhangti
Community Support
Community Support

Hi, @Abdullah-Ultra 

 

You can try the following methods.

Column = SWITCH(TRUE(),
[Funding %]>=75&&[Winning %]>=75,"High",
[Funding %]>=50&&[Winning %]>=50,"Med",
"Low")

vzhangti_0-1698658856646.png

Is this the result you expect?

Best Regards,

Community Support Team _Charlotte

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Thank you so much 🙂

ribisht17
Super User
Super User

Please mark the answer and help the community in return if it helped or else let us know

ribisht17
Super User
Super User

hi @Abdullah-Ultra 

 

Should be a doable task , need to have the logic

 

If Winning% > 50 then medium ?

 

May I know the logic ?

 

Regards,

Ritesh

Thank you .

 

Here is the Logic

 

AbdullahUltra_0-1698231895596.png

 

Here are the multiple options
 

You can use SWITCH() like this which is much cleaner than nested IFs:

Here you can use Probability of winning and funding instead inside the AND function

Age Group = SWITCH(TRUE(),
    AND([Age]>17, [Age]<28), "18-27",
    AND([Age]>27, [Age]<36), "28-35",
    AND([Age]>35, [Age]<44), "36-43",
    AND([Age]>43, [Age]<51), "44-50",
    [Age]>50, "50+", BLANK()
)

 

Please check this Solved: IF with multiple conditions - Microsoft Fabric Community

 

You can use the AND and OR functions or even embed IF statements in Power BI just like you can in excel if you have an if function with multiple criteria.

 

AND: https://docs.microsoft.com/en-us/dax/and-function-dax

OR: https://docs.microsoft.com/en-us/dax/or-function-dax

Depending on your situation you may also want to consider the SWITCH function: https://docs.microsoft.com/en-us/dax/switch-function-dax

 

Examples: https://community.powerbi.com/t5/Desktop/DAX-Measure-with-Nested-IF-Statements/td-p/113358

https://stackoverflow.com/questions/40254578/multiple-if-statements-in-dax

 

 

Ritesh

Mark my post as a solution if it helped you| Munde and Kudis (Ladies and Gentlemen) I like your Kudos!! !!
My YT Channel Dancing With Data !! Connect on Linkedin !! PL 300 Certification Series

 

Thank you so much 

AbdullahUltra_0-1698660598144.png

 

You are welcome although I did not see you marking the answer :), but I guess it helped you.

Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

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.

Top Solution Authors