Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

Desktop Calculation help

I have below excel calculation and I am not sure how to replicate it on Power BI.

1. Basically, I show column A, B, C and D, and create a column (filter) which only shows rows which have Inconsistent data means all the columns values are not the same. it shows as "check" and "ok" with formula.

2. then we see if the sum of A, B, C, and D row-wise is greater than the sum of Column E, F, and G and we mark greater than as "check" and rest as "ok". please note I need to use categories as filters on the dashboard.

 

 

 

is it possible in Power BI, please help.

 

 

  • Hi Anonymous ,

    From your description, you could refer to below formulas:

    Category-1 = IF([A]=[B]&&[B]=[C]&&[C]=[D],"OK","Check")
    Category-2 = IF([A]+[B]+[C]+[D]>[E]+[F]+[G],"Check","OK")

    Result:

    You could also download the pbix file to have a view.

     

    Regards,

    Daniel He

1 Reply

  • v-danhe-msft's avatar
    v-danhe-msft
    Microsoft Employee

    Hi Anonymous ,

    From your description, you could refer to below formulas:

    Category-1 = IF([A]=[B]&&[B]=[C]&&[C]=[D],"OK","Check")
    Category-2 = IF([A]+[B]+[C]+[D]>[E]+[F]+[G],"Check","OK")

    Result:

    You could also download the pbix file to have a view.

     

    Regards,

    Daniel He