Forum Discussion

rajjay's avatar
rajjay
Adept
7 months ago

How to Create a New Rank: Error Encountered

"While trying to create a new rank using the Ranking Formula, I'm encountering an error.

The formula I'm using is:

(logins >= 1) && (posts = 0) && (page_views = 0) && (net_kudos_weight_given = 0) && (net_kudos_weight_received = 0) && (accepted_solutions = 0)

I'm using the following variables for likes:

Likes given = 0 (kudos_events_given)
Likes received = 0 (kudos_events_received)

Can someone please help me identify what is wrong here?"




   

3 Replies

  • Hi rajjay : Could you try this in place of above one you mentioned:

     

    (logins >= 1) && (posts >= 0) && (page_views >= 0) && (net_kudos_weight_given >= 0) && (net_kudos_weight_received >= 0) && (accepted_solutions >= 0)

    If my post is helpful and answers your question, please give "Kudos" and "Accept it as a Solution."

    Thanks & Regards,
    Abhishek Illindra

  • rajjay's avatar
    rajjay
    Adept
    7 months ago

    Hi AbhishekIlindra  can we do ranges with formulas

    Lets say, I have two levels L1, L2

    L1 (posts - deleted_posts >= 10) && (logins >= 1) && (page_views = 0) && (net_kudos_weight_given >= 2) && (net_kudos_weight_received = 2) && (accepted_solutions = 0)

    L2 (posts - deleted_posts >= 15) && (logins >= 1) && (page_views = 0) && (net_kudos_weight_given >= 5) && (net_kudos_weight_received = 2) && (accepted_solutions = 1)

    For posts in L1 (posts - deleted_posts >= 10), L2 - (posts - deleted_posts >= 15)
    How do define range like posts from 10 or greater than to less than equal to 15 should fall under Level 2

    ((posts - deleted_posts >= 10) &&(posts - deleted_posts <= 15))
    I want from 11 to 15 posts should move to level 2