Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Resulta que debo realizar un conteo de incidentes de un mismo usuario dentro de un mismo mes, necesito saber cuanto incidentes realiza a soporte un mismo usuario, he intentado de muchas maneras pero no consigo el resultado.
Estoy tratando de utilizar el sigiente Dax pero no funciona, soy relativamente nuevo en este mundo.
PedidosEnMesSeleccionado =
VAR CurrentFirstOrderDate = SELECTEDVALUE('Data'[First Order Date (EOM)])
VAR MonthsAfter = SELECTEDVALUE('Months After'[Value])
VAR SelectedMonth = EOMONTH(CurrentFirstOrderDate,MonthsAfter)
RETURN
CALCULATE(
COUNTROWS('Data'),
FILTER(
'Data',
'Data'[Customer ID] = SELECTEDVALUE('Data'[Customer ID]) &&
EOMONTH('Data'[Order Date],0) = SelectedMonth
)
)
Solved! Go to Solution.
Hi @manuel_yhvh
Depending on your description, you may want to consider, for example, whether you have a corresponding date in your corresponding data table after setting the Months After' [Value] setting, for example, the maximum date in your data table is 2023/5/1 But the date you filter may be more than 5/1/2023, so a null value may be returned.
If the above suggestions did not help you, can you provide some pictures of the results you expect or pictures of the current error?
Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @manuel_yhvh
Depending on your description, you may want to consider, for example, whether you have a corresponding date in your corresponding data table after setting the Months After' [Value] setting, for example, the maximum date in your data table is 2023/5/1 But the date you filter may be more than 5/1/2023, so a null value may be returned.
If the above suggestions did not help you, can you provide some pictures of the results you expect or pictures of the current error?
Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
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.
User | Count |
---|---|
15 | |
11 | |
11 | |
10 | |
10 |
User | Count |
---|---|
19 | |
14 | |
13 | |
11 | |
8 |