The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hi everyone,
I am lookin for some advice. I create de following measure that seems not working:
Date_transaction | id | nombre | monto | producto_sku |
08/10/21 | 158975 | GRUPO QUATRO | $389.00 | 8469760000019 |
28/10/21 | 165671 | GRUPO QUATRO | $759.00 | 8469760000149 |
04/11/21 | 166792 | GRUPO QUATRO | $222.00 | 8469760000293 |
08/11/21 | 168090 | GRUPO QUATRO | $406.00 | 8469760000293 |
09/11/21 | 168648 | GRUPO QUATRO | $389.00 | 8469760000019 |
30/11/21 | 182791 | GRUPO QUATRO | $1,949.00 | 8469760000149 |
id | name |
22 | Eli Lilly |
44 | Grupo Quatro |
3 | Critoinvex SAPI DE CV |
4 | WORKBEAT |
5 | Sodexo |
Nombre de Producto | SKU | From_date_valid | thru_date_valid | Fix_rate_cargo_paynom | percent_rate_cargo_paynom | Fix_rate_comision | percent_rate_comision | cliente_id | Menor_igual_0 | Menor_igual_1 | Menor_igual_2 | Mayor_que |
TELMEX | 8469760000019 | 01/01/21 | 31/12/21 | 5 | 10 | 22 | 300 | |||||
CFE | 8469760000149 | 01/11/21 | 31/12/21 | 5 | 10 | 300 | ||||||
AGUA Y DRENAJE DE MTY | 8469760000293 | 01/01/21 | 31/12/21 | 3 | 7 | 44 | 300 | |||||
TELMEX | 8469760000019 | 01/11/21 | 31/12/21 | 5 | 3% | 13 | 22 | 300 | ||||
TELMEX | 8469760000019 | 01/01/21 | 31/10/21 | 1 | 10% | 5 | 22 | 300 | ||||
CFE | 8469760000149 | 01/11/21 | 31/12/21 | 5 | 3% | 10 | 300 | |||||
AGUA Y DRENAJE DE MTY | 8469760000293 | 01/01/21 | 31/12/21 | 25 | 3% | 13 | 44 | 300 |
Solved! Go to Solution.
HI again!
thinking different options and disaggregating the fromula I discovered that what causes that I did not get the calculation I wanted was blanks in data. Going thru each section or filter was the way a discovered. This blanks caused that the calculation of greater than was compare to 0 when in reality I wanted this blanks not to be taked into account (be filtered first).
I change the measure to:
HI again!
thinking different options and disaggregating the fromula I discovered that what causes that I did not get the calculation I wanted was blanks in data. Going thru each section or filter was the way a discovered. This blanks caused that the calculation of greater than was compare to 0 when in reality I wanted this blanks not to be taked into account (be filtered first).
I change the measure to:
User | Count |
---|---|
63 | |
57 | |
51 | |
45 | |
34 |
User | Count |
---|---|
121 | |
82 | |
69 | |
48 | |
48 |