Conditional Formatting based on two columns

  • Conditional Formatting based on two columns

    Posted by DSC Communities on September 4, 2022 at 9:50 pm
    • evano oruvan

      Member

      September 4, 2022 at 9:50 PM

      i want to create a conditonal formatting with background color for first customer priority ( we use direct query )

      1. if currentAge < 60 and annualincome > 100,000 – priority should be green
      2.if currentAge between 60 and 70 and annualincome between 60,000 and 100,000 – priority should be orange
      3.if currentAge between > 70 and annualincome < 60,000 – priority should be red

      ——————————
      evano oruvan
      ——————————

    • Pulendar vadde

      Member

      September 5, 2022 at 11:52 AM

      You can use Switch Conditions together as below. You can just the conditions as per your requirements. Uploaded the file as well.Ā 

      Flag =
      SWITCH(
      TRUE(),
      Emp[Income] >= 100000 && Emp[Age] >=60, “Green”,
      Emp[Income] >= 70000 && Emp[Age] >=55, “Yellow”,
      Emp[Income] >= 50000 && Emp[Age] >=40, “Red”)

      Regards,
      Pulendar V

      ——————————
      Pulendar vadde
      IT consultant
      ——————————
      ——————————————-

    DSC Communities replied 3 years, 1 month ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

The discussion ‘Conditional Formatting based on two columns’ is closed to new replies.

Start of Discussion
0 of 0 replies June 2018
Now

Welcome to our new site!

Here you will find a wealth of information created for peopleĀ  that are on a mission to redefine business models with cloud techinologies, AI, automation, low code / no code applications, data, security & more to compete in the Acceleration Economy!