Hello friends!
This is my first post here if something is not on the correct form please let me know.
Fist, this is my data
id gerencia cr ValorRevisado ValorRealizado
1 | Gerencia A | CR1 | 15000 | 12578 |
2 | Gerencia B | CR2 | 20000 | 10000 |
3 | Gerencia A | CR2 | 1300 | 1700 |
4 | Gerencia A | CR3 | 500 | 350 |
5 | Gerencia B | CR4 | 900 | 910 |
6 | Gerencia C | CR1 | 800 | 750 |
7 | Gerencia C | CR2 | 50000 | 50000 |
8 | Gerencia C | CR3 | 500 | 1500 |
And this is what im trying to do:
- My rule is :
Measure: Porcentagem = (ValorRealizado / ValorRevisado)
Column (Image URL) = IF Porcentagem > 1: good image else bad image;
I can figure what is happening on table A.
I know what is happening on table B too but my doubt is, is this correct?
I expected somethind like table C, where the rule is applyed after the grouping..