Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hola Equipo,
Tengo dos parámetros de fecha 1. Fecha de inicio y 2. Fecha de finalización, ambas son fechas y deben usarse en la fórmula siguiente para obtener recuentos. He creado una tabla de fechas como se muestra a continuación, pero no puedo usarlas en mi fórmula. por favor sugiera.
Solved! Go to Solution.
@shilpikumari_11 , así es como puede utilizar dos fechas seleccionadas en segmentación de datos
Medida ?
var _max á maxx(allselected('Date'),'Date'[Date])
var _min á minx(allselected('Fecha'),'Fecha'[Fecha])
devolución
calculate(count(Table[value]),filter(All(Table),Table[date] <-_max && Table[account creation date] >-_min))
Medida ?
var _max á maxx(allselected('Date'),'Date'[Date])
var _min á minx(allselected('Fecha'),'Fecha'[Fecha])
devolución
calculate(count(Table[value]),filter(Allselected(Table),Table[date] <-_max && Table[date] >-_min))
@amitchandak Gracias, pero mi origen de datos no tiene fecha de inicio y finalización, solo el usuario solo debe establecer un intervalo de fechas personalizado que se utilizará como referencia en el filtro para filtrar cierto período.
@shilpikumari_11 , así es como puede utilizar dos fechas seleccionadas en segmentación de datos
Medida ?
var _max á maxx(allselected('Date'),'Date'[Date])
var _min á minx(allselected('Fecha'),'Fecha'[Fecha])
devolución
calculate(count(Table[value]),filter(All(Table),Table[date] <-_max && Table[account creation date] >-_min))
Medida ?
var _max á maxx(allselected('Date'),'Date'[Date])
var _min á minx(allselected('Fecha'),'Fecha'[Fecha])
devolución
calculate(count(Table[value]),filter(Allselected(Table),Table[date] <-_max && Table[date] >-_min))
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.