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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
KuntalSingh
Helper V
Helper V

If Condition else condition

I need to applied mention below condition. Can someone please help

1. For Easy cases- [POValue_Category] < 200000 and [Outline Agreement_Status] = "Agreement Not Available" and [Division] = "Marketing

2. For Easy Cases- if [POValue_Category] < 100000 and [Outline Agreement_Status] = "Agreement Not Available" and [Division] is other than Marketing

3. For Medium Cases- [POValue_Category] < 200000 and [Outline Agreement_Status] = "Agreement Available" and [Division] = "Marketing" else Complex cases

 PO Value Purch OrgPOValue_CategoryOutlineAgreement_StatusInvoiceValue CatDivisonComments.

 

Raw data

 PO Value Purch OrgPOValue_CategoryOutlineAgreement_StatusInvoiceValue CatDivison

3430752SERV<50LacAgreement_Not_Available<10LacRefinery
204344.5SERV<5LacAgreement_Not_Available<1LacRefinery
500558.4SERV<10LacAgreement_Not_Available<1LacRefinery
3430752SERV<50LacAgreement_Not_Available<1LacRefinery
250279.2SERV<5LacAgreement_Not_Available<1LacRefinery
250279.2SERV<5LacAgreement_Not_Available<1LacRefinery
500558.4SERV<10LacAgreement_Not_Available<1LacRefinery
883376SERV<10LacAgreement_Not_Available<1LacRefinery
250279.2SERV<5LacAgreement_Not_Available<1LacRefinery
395856SERV<5LacAgreement_Not_Available<1LacRefinery
1326000SERV<50LacAgreement_Not_Available<1LacRefinery
581065.5SERV<10LacAgreement_Available<10LacMarketing
581065.5SERV<10LacAgreement_Available<10LacMarketing
581065.5SERV<10LacAgreement_Available<10LacMarketing
352022.6SERV<5LacAgreement_Not_Available<1LacMarketing
562930.7SERV<10LacAgreement_Not_Available<1LacMarketing
562930.7SERV<10LacAgreement_Not_Available<1LacMarketing
562930.7SERV<10LacAgreement_Not_Available<1LacMarketing
562930.7SERV<10LacAgreement_Not_Available<1LacMarketing
562930.7SERV<10LacAgreement_Not_Available<1LacMarketing
562930.7SERV<10LacAgreement_Not_Available<1LacMarketing
562930.7SERV<10LacAgreement_Not_Available<1LacMarketing
562930.7SERV<10LacAgreement_Not_Available<1LacMarketing
562930.7SERV<10LacAgreement_Not_Available<1LacMarketing
562930.7SERV<10LacAgreement_Not_Available<1LacMarketing
562930.7SERV<10LacAgreement_Not_Available<1LacMarketing
562930.7SERV<10LacAgreement_Not_Available<1LacMarketing
562930.7SERV<10LacAgreement_Not_Available<1LacMarketing
562930.7SERV<10LacAgreement_Not_Available<1LacMarketing
562930.7SERV<10LacAgreement_Not_Available<1LacMarketing
562930.7SERV<10LacAgreement_Not_Available<1LacMarketing
562930.7SERV<10LacAgreement_Not_Available<1LacMarketing
562930.7SERV<10LacAgreement_Not_Available<1LacMarketing
562930.7SERV<10LacAgreement_Not_Available<1LacMarketing
562930.7SERV<10LacAgreement_Not_Available<1LacMarketing
562930.7SERV<10LacAgreement_Not_Available<1LacMarketing
562930.7SERV<10LacAgreement_Not_Available<1LacMarketing
562930.7SERV<10LacAgreement_Not_Available<1LacMarketing
562930.7SERV<10LacAgreement_Not_Available<1LacMarketing
562930.7SERV<10LacAgreement_Not_Available<1LacMarketing
562930.7SERV<10LacAgreement_Not_Available<1LacMarketing
562930.7SERV<10LacAgreement_Not_Available<1LacMarketing
562930.7SERV<10LacAgreement_Not_Available<1LacMarketing
562930.7SERV<10LacAgreement_Not_Available<1LacMarketing
562930.7SERV<10LacAgreement_Not_Available<1LacMarketing
4973617SERV<50LacAgreement_Available<50LacMarketing
1415519SERV<50LacAgreement_Available<50LacMarketing
18776.8SERV<1LacAgreement_Not_Available<1LacMarketing
19470SERV<1LacAgreement_Not_Available<1LacMarketing
2.5E+08NHVT1Cr & aboveAgreement_Available<50LacMarketing
2.5E+08NHVT1Cr & aboveAgreement_Available<50LacMarketing
2.5E+08NHVT1Cr & aboveAgreement_Available<50LacMarketing
50307711NHVT1Cr & aboveAgreement_Available<50LacMarketing
50307711NHVT1Cr & aboveAgreement_Available<50LacMarketing
2.92E+08NHVT1Cr & aboveAgreement_Available<50LacMarketing
2.92E+08NHVT1Cr & aboveAgreement_Available<50LacMarketing
23010SERV<1LacAgreement_Not_Available<1LacMarketing
19682.4NHVT<1LacAgreement_Not_Available<1LacMarketing
22007958SERV1Cr & aboveAgreement_Not_Available<10LacRefinery
1 ACCEPTED SOLUTION
dufoq3
Super User
Super User

Hi @KuntalSingh, you've mentioned Easy cases twice, but without any expected result. 

 

Check this logic:

 

dufoq3_3-1715599333463.png

 


Note: Check this link to learn how to use my query.
Check this link if you don't know how to provide sample data.

View solution in original post

1 REPLY 1
dufoq3
Super User
Super User

Hi @KuntalSingh, you've mentioned Easy cases twice, but without any expected result. 

 

Check this logic:

 

dufoq3_3-1715599333463.png

 


Note: Check this link to learn how to use my query.
Check this link if you don't know how to provide sample data.

Helpful resources

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

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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