Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.
Estoy tratando de crear un visual que muestre el mes actual frente al monto de ventas del mes pasado desglosado por distribuidor. Este objeto visual debe actualizarse mensualmente en función de la fecha máxima de los datos de ventas actuales. en este momento estoy filtrando manualmente, debe haber una mejor manera de hacer esto.
Solved! Go to Solution.
Hay @bo_wang5 ,
Puedes usar una medida como filtro así:
Measure =
VAR PreviousMonthStart =
EOMONTH ( TODAY (), -2 ) + 1
VAR CurrentMonthEnd =
EOMONTH ( TODAY (), 0 )
RETURN
IF (
MAX ( 'Table'[Date] ) >= PreviousMonthStart
&& MAX ( 'Table'[Date] ) <= CurrentMonthEnd,
1
)
Saludos
Helado
Si este post Ayuda, a continuación, por favor considere Acéptalo como la solución para ayudar a los otros miembros a encontrarlo más rápidamente.
Hay @bo_wang5 ,
Puedes usar una medida como filtro así:
Measure =
VAR PreviousMonthStart =
EOMONTH ( TODAY (), -2 ) + 1
VAR CurrentMonthEnd =
EOMONTH ( TODAY (), 0 )
RETURN
IF (
MAX ( 'Table'[Date] ) >= PreviousMonthStart
&& MAX ( 'Table'[Date] ) <= CurrentMonthEnd,
1
)
Saludos
Helado
Si este post Ayuda, a continuación, por favor considere Acéptalo como la solución para ayudar a los otros miembros a encontrarlo más rápidamente.
Check out the November 2023 Power BI update to learn about new features.
Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.