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
SIBI1998
Helper I
Helper I

AND and AND NOT Condition

Hi,

 

       Here I have an Colum Payment , Stages with (Stage1,Stage2,Stage3,Stage4,Stage5) and Another Column Verified Ekyc and Sign.

       

       I have an Sample Formula which I have used in Tableau and Here I need the Same in Power BI.

 

IF (ISNULL([Sign]) or [Sign] == '') AND NOT ISNULL([Payment]) AND NOT ISNULL([Stage5]) AND NOT ISNULL([Stage4]) AND NOT ISNULL([Stage3]) AND NOT ISNULL([Stage2]) AND NOT ISNULL([Stage1]) AND ISNULL([Verified Ekyc]) THEN 1
END

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @SIBI1998 ,

 

 Your formula is incomplete, like missing back brackets and missing ISBLANK function, so there will be errors.

vstephenmsft_0-1649141422868.png

Try this calculated column,

 

E-Sign Pending =
IF (
    (
        ISBLANK ( 'TABLEAU_REPORT overview_ekyc'[sign] )
            || 'TABLEAU_REPORT overview_ekyc'[sign] = ""
    )
        && NOT ( ISBLANK ( 'TABLEAU_REPORT overview_ekyc'[payment] ) )
            && NOT ( ISBLANK ( 'TABLEAU_REPORT overview_ekyc'[stage5] ) )
                && NOT ( ISBLANK ( 'TABLEAU_REPORT overview_ekyc'[stage4] ) )
                    && NOT ( ISBLANK ( 'TABLEAU_REPORT overview_ekyc'[stage3] ) )
                        && NOT ( ISBLANK ( 'TABLEAU_REPORT overview_ekyc'[stage2] ) )
                            && NOT ( ISBLANK ( 'TABLEAU_REPORT overview_ekyc'[stage1] ) )
                                && ISBLANK ( 'TABLEAU_REPORT overview_ekyc'[verified_ekyc] ),
    1
)

 

What is the difference between Power BI calculated columns and measures? - TrueCue.

 

Best Regards,

Stephen Tao

 

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

3 REPLIES 3
Anonymous
Not applicable

Hi @SIBI1998 you can try
IF(ISBLANK([Sign]) || [Sign] = "") && NOT(ISBLANK([Payment])) && NOT(ISBLANK([Stage5])) && NOT(ISBLANK([Stage4])) && NOT(ISBLANK([Stage3])) && NOT(ISBLANK([Stage2])) && NOT(ISBLANK([Stage1])) && ISBLANK([Verified Ekyc],
1)


@Anonymous

 

I have used the below value and showing the error as,

 

E-Sign Pending = IF(ISBLANK('TABLEAU_REPORT overview_ekyc'[sign] || 'TABLEAU_REPORT overview_ekyc'[sign] ="") && NOT(ISBLANK('TABLEAU_REPORT overview_ekyc'[payment] && NOT(ISBLANK('TABLEAU_REPORT overview_ekyc'[stage5] && NOT('TABLEAU_REPORT overview_ekyc'[stage4] && NOT(ISBLANK('TABLEAU_REPORT overview_ekyc'[stage3] && NOT('TABLEAU_REPORT overview_ekyc'[stage2] && NOT('TABLEAU_REPORT overview_ekyc'[stage1] && ISBLANK('TABLEAU_REPORT overview_ekyc'[verified_ekyc],1)
 
SIBI1998_0-1648820141584.png

 

Anonymous
Not applicable

Hi @SIBI1998 ,

 

 Your formula is incomplete, like missing back brackets and missing ISBLANK function, so there will be errors.

vstephenmsft_0-1649141422868.png

Try this calculated column,

 

E-Sign Pending =
IF (
    (
        ISBLANK ( 'TABLEAU_REPORT overview_ekyc'[sign] )
            || 'TABLEAU_REPORT overview_ekyc'[sign] = ""
    )
        && NOT ( ISBLANK ( 'TABLEAU_REPORT overview_ekyc'[payment] ) )
            && NOT ( ISBLANK ( 'TABLEAU_REPORT overview_ekyc'[stage5] ) )
                && NOT ( ISBLANK ( 'TABLEAU_REPORT overview_ekyc'[stage4] ) )
                    && NOT ( ISBLANK ( 'TABLEAU_REPORT overview_ekyc'[stage3] ) )
                        && NOT ( ISBLANK ( 'TABLEAU_REPORT overview_ekyc'[stage2] ) )
                            && NOT ( ISBLANK ( 'TABLEAU_REPORT overview_ekyc'[stage1] ) )
                                && ISBLANK ( 'TABLEAU_REPORT overview_ekyc'[verified_ekyc] ),
    1
)

 

What is the difference between Power BI calculated columns and measures? - TrueCue.

 

Best Regards,

Stephen Tao

 

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

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.