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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. 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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors