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.
Hola, quisiera saber la forma en que pueda contar la cantidad de datos que contiene una columna de acuerdo a criterios y que uno de esos criterios sea que contenga una palabra determinada "DS" Dejo un ejemplo como se realiza en excel para ilustrar la idea
= CONTADORES ( C13:C21 ; "8" ; B13:B21 ; "*SDR*" )
Solved! Go to Solution.
Hi @smith7 ,
I created some data:
Here are the steps you can follow:
1. Create calculated column.
Total =
var _table=
FILTER('Table',
ISERROR(
SEARCH("SDR", 'Table'[Flag2])) =TRUE()
&&
ISERROR(
SEARCH(8, 'Table'[Flag2])) =TRUE())
return
IF(
'Table'[Flag1] in SELECTCOLUMNS(_table,"1",[Flag1])&&'Table'[Flag2] in SELECTCOLUMNS(_table,"2",[Flag2]),
SUMX(_table,[amount]),BLANK())
2. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi @smith7 ,
I created some data:
Here are the steps you can follow:
1. Create calculated column.
Total =
var _table=
FILTER('Table',
ISERROR(
SEARCH("SDR", 'Table'[Flag2])) =TRUE()
&&
ISERROR(
SEARCH(8, 'Table'[Flag2])) =TRUE())
return
IF(
'Table'[Flag1] in SELECTCOLUMNS(_table,"1",[Flag1])&&'Table'[Flag2] in SELECTCOLUMNS(_table,"2",[Flag2]),
SUMX(_table,[amount]),BLANK())
2. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
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 |
---|---|
114 | |
99 | |
82 | |
70 | |
60 |
User | Count |
---|---|
149 | |
114 | |
107 | |
89 | |
67 |