Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers!
Enter the sweepstakes now!Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.
Prezada comunidade, tenho a seguinte situacao:
- São emitidas quase 350 senhas por dia no atendimento, em diferentes horas no dia.
Preciso saber como somar as senhas emitidas por hora e colocar isso no relatorio de forma que posso extrair a quantidade emitida por hora e por dia.
Quero um relatorio onde possa extrair essa quantidade em coluna por dia conforme a coluna F.
Solved! Go to Solution.
Hi @Silvio_Carneiro ,
Here are the steps you can follow:
1. Create calculated table.
Table 2 =
var _table1=
SUMMARIZE(
'Table','Table'[Hora],
"Hora Inicio",
IF(
LEN('Table'[Hora])=10,
TIME(VALUE(LEFT('Table'[Hora],1)),0,0),
TIME(VALUE(LEFT('Table'[Hora],2)),0,0)),
"Hora Fim",
IF(
LEN('Table'[Hora])=10,
TIME(VALUE(LEFT('Table'[Hora],1)),59,59),
TIME(VALUE(LEFT('Table'[Hora],2)),59,59)))
return
SUMMARIZE(
_table1,[Hora Inicio],[Hora Fim],"Quantidate",
COUNTX(
FILTER(ALL('Table'),
'Table'[Hora]>=[Hora Inicio]&&'Table'[Hora]<=[Hora Fim]),[Data]))
2. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi @Silvio_Carneiro ,
Here are the steps you can follow:
1. Create calculated table.
Table 2 =
var _table1=
SUMMARIZE(
'Table','Table'[Hora],
"Hora Inicio",
IF(
LEN('Table'[Hora])=10,
TIME(VALUE(LEFT('Table'[Hora],1)),0,0),
TIME(VALUE(LEFT('Table'[Hora],2)),0,0)),
"Hora Fim",
IF(
LEN('Table'[Hora])=10,
TIME(VALUE(LEFT('Table'[Hora],1)),59,59),
TIME(VALUE(LEFT('Table'[Hora],2)),59,59)))
return
SUMMARIZE(
_table1,[Hora Inicio],[Hora Fim],"Quantidate",
COUNTX(
FILTER(ALL('Table'),
'Table'[Hora]>=[Hora Inicio]&&'Table'[Hora]<=[Hora Fim]),[Data]))
2. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Obrigado.
Deu certo, e funcionando.
Esse aqui sao os dados do powre BI
Soma o total emitido nessas horas e forma a coluna
O eixo horizontal deve ficar dias
o eixo vertical em horas
Check out the April 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
User | Count |
---|---|
17 | |
16 | |
13 | |
9 | |
9 |