Forum Discussion

Etepetepe's avatar
Etepetepe
New Member
3 years ago

Red Green Status

Hi everybody,

 

for my PowerBI reporting I need support.

 

Background:

The department makes a weekly tour of the building to identify deficiencies. Each level (e.g. First floor) is evaluated (green eq everything ok, red eq certain points not ok). The tour and the corresponding levels are recorded in the background. It can happen that the same building is checked twice in one month.

 

Current situation: 

I have used conditional formatting: 

 

Statusnumberconditional formatting for background
Red2If number eq 2, red
Green1If number eq 1, green
Grey (not checked) 0If number eq 0, grey

Now if I have a second round a month, the reporting is wrong because I used the sum-functions. 

 

LevelFirst roundsecond roundcurrent resultExpected result
1. floor0 (grey)0 (grey)00
2.floor0 (grey)1 (green)11
3.floor0 (grey)2 (red)22
4.floor1 (green)0 (grey)11
5.floor1 (green)1 (green)21
6. floor1 (green)2 (red)32
7. floor2 (red)1 (green)31
Basement2 (red)0 (grey)22
8. floor2 (red)2 (red)42

 

Any ideas to find the correct logic?

 

Thanks! 

3 Replies

  • Hi Etepetepe ,

     

    In this case what is the rule to get the values for the expected result? is it an average s it the highest value?

     

     

    • Etepetepe's avatar
      Etepetepe
      New Member

      MFelix : Thx for your reply. This is exactly my question. I need the rule for the expected results. 

      • MFelix's avatar
        MFelix
        Super User

        But how did you get the expected result? How did you calculated it to place on your example?

         

        Most of them seems to be the highest value however for floor 7 you have the second round value. 

         

        Can you explain your tough behind the example you gave.