Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello,
Im trying to count each client of the company if the cell have in the "Clase" column the data "Factura (v)". But, in "Codlegal" column i have multples times each code, so i need to use distinct to no repeat each one.
Im trying with:
NumClientes = CALCULATE ( DISTINCTCOUNT(Hoja2[Codlegal]);Hoja2[Clase] = "Factura (v)")
But i get "30,23K" and are only 2.916. I tried with differents formulas but i cant get it, any advice?
Solved! Go to Solution.
solution should be
COUNTROWS(FILTER(ALL(Table);Table[column]="Factura (v)"))
if you don't want the independent context like if you want it to change when you slice remove the ALL
solution should be
COUNTROWS(FILTER(ALL(Table);Table[column]="Factura (v)"))
if you don't want the independent context like if you want it to change when you slice remove the ALL
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
107 | |
100 | |
78 | |
64 | |
58 |
User | Count |
---|---|
148 | |
113 | |
97 | |
84 | |
67 |