cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Dax error!

Hello,I am trying to write a DAX statement which should show the sum of all the tickets with status as opened for the current month. 

 

Can someone please tell me the syntax for it?

 

Thanks!

1 ACCEPTED SOLUTION
v-caitlyn-mstf
Community Support
Community Support

Hi @Anonymous ,

 

Please try:

 Calculate(sum(value), filter ('table', [status]="opened" && Month([Date])= Month(Today()) ))

 

 

Best Regards,
Community Support Team _ Caitlyn

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

1 REPLY 1
v-caitlyn-mstf
Community Support
Community Support

Hi @Anonymous ,

 

Please try:

 Calculate(sum(value), filter ('table', [status]="opened" && Month([Date])= Month(Today()) ))

 

 

Best Regards,
Community Support Team _ Caitlyn

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

Helpful resources

Announcements
Power BI Show Episode 10 Recap

The Power BI Community Show

Watch the playback when Amit Chandak, a Power BI Super User, demos how to use Field Parameters to make reports more dynamic.

Power BI Dev Camp Session 26

Ted's Dev Camp - October 6, 2022

Watch the playback of Session 26 with Ted Pattison!

Health and Life Sciences Power BI User Group

Health and Life Sciences Power BI User Group

Power BI specialists at Microsoft have created a community user group where customers in the provider, payor, pharma, health solutions, and life science industries can collaborate.

Ignite 2022

What's Next at Microsoft Ignite 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.