Conditional Column Formatting

%3CLINGO-SUB%20id%3D%22lingo-sub-1483262%22%20slang%3D%22en-US%22%3EConditional%20Column%20Formatting%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1483262%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20All%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20list%20and%20have%20one%20lookup%20field%20in%20it.%3C%2FP%3E%3CP%3EThere%20are%20few%20rows%20which%20contain%20value%20in%20the%20lookup%20column%20and%20few%20does%20not%20contain%20lookup%20value%2Fblank.%3C%2FP%3E%3CP%3EEg.%3C%2FP%3E%3CP%3ETitle%26nbsp%3B%20%26nbsp%3Bloopupfield%3C%2FP%3E%3CP%3EABC%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B1%3C%2FP%3E%3CP%3EPQR%3C%2FP%3E%3CP%3EXYZ%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B2or%20any%20value%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20applied%20JSON%20formatting%202%20display%20button%20with%20txt%20as%20%22Go%20to%20Dealer%20Details%22.%3C%2FP%3E%3CP%3EBut%20this%20formatting%20is%20applied%20to%20all%20rows%2C%20I%20want%20this%20to%20be%20conditional%20like%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eabove%20ABC%20and%20XYX%20should%20show%20formatting%20and%20PQR%20should%20display%20blank%2Fnodata.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHow%20to%20acheive%20this%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EPlease%20help.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1483262%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Occasional Contributor

Hello All,

 

I have list and have one lookup field in it.

There are few rows which contain value in the lookup column and few does not contain lookup value/blank.

Eg.

Title   loopupfield

ABC         1

PQR

XYZ         2or any value

 

I have applied JSON formatting 2 display button with txt as "Go to Dealer Details".

But this formatting is applied to all rows, I want this to be conditional like

 

above ABC and XYX should show formatting and PQR should display blank/nodata.

 

How to acheive this?

 

Please help.

0 Replies