Forum Discussion
Count By Date
Hello,
I am currently trying to count cancellations by Month (By the Date in the data) and my DAX formula is spitting out the same number for every Month. How do I fix this???
Hey Brite ,
this part of your DAX
... DISTINCTCOUNT('Fail Cancel.Rejected'[Status]) ...counts the distinct values from the status column.
For this reason, I consider the result correct.
Maybe you can prepare a pbix file that contains sample data, but still reflects your data model. Upload the pbix to onedrive or dropbox and share the link. If you are using Excel to create the sample data share the xlsx as well.
Describe the expected result based on the sample you provide.
Hopefully, this provides at least a new idea on how to tackle your challenge.
Regards,
Tom
1 Reply
- TomMartensSuper User
Hey Brite ,
this part of your DAX
... DISTINCTCOUNT('Fail Cancel.Rejected'[Status]) ...counts the distinct values from the status column.
For this reason, I consider the result correct.
Maybe you can prepare a pbix file that contains sample data, but still reflects your data model. Upload the pbix to onedrive or dropbox and share the link. If you are using Excel to create the sample data share the xlsx as well.
Describe the expected result based on the sample you provide.
Hopefully, this provides at least a new idea on how to tackle your challenge.
Regards,
Tom