Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
OK - así que hice este pequeño messure que muestra los departamentos seleccionados y funciona muy bien ya sea mostrar "todos" o los departamentos seleccionados.
'Selected department =
Var seldep=
CONCATENATEX(ALLSELECTED(Departments[D.No+D.Name]),Departments[D.No+D.Name],", ")
var IsItFiltered=
IF (ISFILTERED(Departments[D.No+D.Name]),seldep,"ALL")
return
IsItFiltered
PERO sólo quería que mostrara los departamentos que tiene Ingresos en el período que seleccioné.
También sería bueno si no mostrara TODO si hice una selección en el filtro de regiones.
así que traté de envolverlo en un calcular con un filtro en el valor Entrada, debe ser mayor que 1 esto no funcionó... cualquier sugestions '?
Nop. Esto tampoco funcionó para filtrar el valor de concat por la segmentación de datos.
@Rygaard Es difícil de decir exactamente sin tener datos de origen y la salida esperada para probar. Parece que vas por un título dinámico, esto puede darte algunas ideas más:
@Greg_Deckler - Great post, but id do not cover what im asking....
I have the following tables country, Region, Department, value entry, calender (and 20 others that dont matter for this)
So when i select UK and US i dont want to see German departments
In the slicers its easy i just put a filter on revenue from the Value Entry - this way the slicer only show Departmetns in selected country(S)
But i cant put a filter on this messure that is dynamic non dynamic it work fine like :
testResult23 =CALCULATE(CONCATENATEX(VALUES(Departments[D.No+D.Name]),Departments[D.No+D.Name],", "),FILTER(CountryTable,CountryTable[Contry_DW_Account] in {"UK", "US"}))
but if i try to replace the {"uk", "US"} with a variable it wont work.
or if i try to use '
test = CALCULATE(CONCATENATEX(VALUES(Departments[D.No+D.Name]),Departments[D.No+D.Name],", "),SELECTEDVALUE(CountryTable[Country_DW_Account]))
im sure ther is a way to do this I just have not found it yet
@Rygaard
Prueba éste:
test = CALCULATE(CONCATENATEX(VALUES(Departments[D.No+D.Name]),Departments[D.No+D.Name],", "),
FILTER(CountryTable,CountryTable[Contry_DW_Account] = SELECTEDVALUE(CountryTable[Country_DW_Account])))
Paul Zheng _ Equipo de apoyo de la comunidad
Si este post ayuda, por favor Acédárlo como la solución para ayudar a los otros miembros a encontrarlo más rápidamente.