Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
Estoy intentando convertir el siguiente código en un informe paginado de PowerBI. ¿Cuál es la mejor manera? Si tiene valor en (:Sample Date), realice una función DateDiff utilizando Días para contar a partir de la diferencia entre 2 días de los cuales uno son los datos introducidos durante un parámetro cuya fecha seleccionada por el usuario
-----------------------------------------------------------------
si hasvalue ({? Fecha de la muestra}) y luego
DateDiff("d",ITIdtToDate({T_SMPL. SMPL_DT}),{? Fecha de la muestra})
más
DateDiff("d",ITIdtToDate({T_SMPL. SMPL_DT}),{@currentdate})
En su lugar, utilizo una consulta. Ahora, cuando se usa la consulta en el desarrollador sql, se ejecuta bien y muestra el número de días entre pero en el generador de informes. Recibo un problema cast es el de BOLD.
ESCOGER
T_SMPL. SMPL_ID,
T_SMPL. SMPL_MIX_ID,
T_SMPL. SMPL_DT,
TO_DATE(SMPL_DT; en lo sucesivo, «AAAAMMDD») smpl_dt_disp,
CASO EN EL QUE
T_SMPL. SMPL_DT ES NULO O T_SMPL. SMPL_DT=0 ENTONCES SYSDATE
ELSE TO_DATE(T_SMPL. SMPL_DT,'AAAAMMDD') END - sysdate Days_Between,
T_PCC. MIX_ID
DE
SM_ADMIN. T_SMPL T_SMPL
UNIÓN INTERNA SM_ADMIN. T_PCC T_PCC ON T_SMPL. SMPL_MIX_ID = T_PCC. MIX_ID
@ResearchDev , si estamos buscando power bi, entonces tenemos hasonevalue https://p3adaptive.com/2013/03/hasonevalue-vs-isfiltered-vs-hasonefilter/
Ask questions in Eventhouse and KQL, Eventstream, and Reflex.
Check out the May 2024 Power BI update to learn about new features.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |