Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hola grupo.
Tengo el siguiente incoveniente.
Deseo usar countx con summarize si se cumple una condicion y es que el campo [telefono_numero_venta] debe estar vacio, de lo contrario uso la otra formula countx con summarize.
Pero me sale error de la forma como he colocado bajo , he tratado de usar la funcion IF.
Lo estoy haciendo en power pivot
Gracias por su ayuda
CuentaPromedioCargoFijo2:=
if(consulta7[telefono_numero_venta] =blank(),
(countx(summarize(consulta7,
[dfecha_documento],
[ctipo_documento_id],
[cserie_documento],
[cnumero_documento],
[telefono_numero_venta],
"PromCargoFijo", average(consulta7[cargo_fijo])),[PromCargoFijo]) ,
(countx(summarize(consulta7,
[dfecha_documento],
[ctipo_documento_id],
[cserie_documento],
[cnumero_documento],
[telefono_numero_venta],
[Tipo_de_plan2],
[cnro_serie],
"CuentaPlan2", count(consulta7[Tipo_de_plan2])),[CuentaPlan2]))
Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
Do not include sensitive information or anything not related to the issue or question.
If you are unsure how to upload data please refer to https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...
Please show the expected outcome based on the sample data you provided.
Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...
User | Count |
---|---|
57 | |
22 | |
21 | |
19 | |
16 |
User | Count |
---|---|
87 | |
87 | |
52 | |
37 | |
23 |