Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
lorran
Frequent Visitor

Formula com filtro de data

Solicito ajuda para identificar a forma correta de inserir o valor de uma data em DAX 

 

calc = CALCULATE(DISTINCTCOUNT(historico[CHAPA]),historico[NOVASITUACAO] <> "D", historico[DATAMUDANCA]= 1976-10-19 )
 
 
neste caso o filtro da data não trás resultado correto
2 ACCEPTED SOLUTIONS
V-lianl-msft
Community Support
Community Support

Hi @lorran ,

 

Please try:

calc = CALCULATE(DISTINCTCOUNT(historico[CHAPA]),FILTER(historico,historico[NOVASITUACAO] <> "D"&& historico[DATAMUDANCA]= DATE(1976,10,19) ))


Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Bom dia, 

 

Deu certo, muito obrigado pelo auxilio. 

 

 

View solution in original post

2 REPLIES 2
V-lianl-msft
Community Support
Community Support

Hi @lorran ,

 

Please try:

calc = CALCULATE(DISTINCTCOUNT(historico[CHAPA]),FILTER(historico,historico[NOVASITUACAO] <> "D"&& historico[DATAMUDANCA]= DATE(1976,10,19) ))


Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Bom dia, 

 

Deu certo, muito obrigado pelo auxilio. 

 

 

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors