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 a todos
Tengo 2 informes de P&L trabajando bien.
Trate de combinar 2 informes de P&L en 1.
Después de combinar ambos en 1, obteré un error.
Ahora necesito entender lo que está haciendo el siguiente código :-
Solved! Go to Solution.
Es difícil ver dónde está el problema. Sin embargo, JFYI, No es necesario filtrar DISTINCT sin espacios en blanco; DISTINCT devuelve una tabla de valores únicos excluyendo blanks..
Gracias por compartir.
A continuación se muestra mi sintaxis orginal :-
_PNL_Table =
T_REV VAR =
FILTRO ( DISTINTO ( GL[1_REV] ), NO ( ISBLANK ( GL[1_REV] ) ) )
VAR t_cogs =
FILTRO ( DISTINTO ( GL[1_COGS] ), NO ( ISBLANK ( GL[1_COGS] ) ) )
T_OTH VAR =
FILTRO ( DISTINTO ( GL[1_OTH] ), NO ( ISBLANK ( GL[1_OTH] ) ) )
T_EXP VAR =
FILTRO ( DISTINTO ( GL[1_EXP] ), NO ( ISBLANK ( GL[1_EXP] ) ) ) )
T_REV_COGS VAR =
UNION ( t_rev, t_cogs, t_oth, t_exp )
VAR tbl = {(t_rev, 1), (t_cogs, 2), (t_oth, 3) , (t_exp, 4)}
devolución
Tbl
A continuación la sintaxis es donde elimino filtro En blanco :-
_PNL_Table =
T_REV VAR =
FILTRO ( DISTINCT ( GL[1_REV] ))
VAR t_cogs =
FILTRO ( DISTINCT ( GL[1_COGS] ))
T_OTH VAR =
FILTRO ( DISTINCT ( GL[1_OTH] ))
T_EXP VAR =
FILTRO ( DISTINCT ( GL[1_EXP] ))
T_REV_COGS VAR =
UNION ( t_rev, t_cogs, t_oth, t_exp )
VAR tbl = {(t_rev, 1), (t_cogs, 2), (t_oth, 3) , (t_exp, 4)}
devolución
Tbl
Obtego error msg :-
Mi archivo PBI :-
https://www.dropbox.com/s/jt7drogywitrrg5/PBS%20GL%20ASK%20HOW%20TO%20REMOVE%20BLANK_.pbix?dl=0
Paul
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 |
---|---|
2 | |
2 | |
2 | |
2 | |
1 |