Net Work Days
Hi Greg, i am using a direct query and it throws up an error saying countx is not allowed as part of calculated columns dax expressions on Direct Query Mode.. Please Help!!!!
- Greg_Deckler7 years agoCommunity Champion
Are you sure you are using the formula in a measure and not in a Column? According to this article, COUNTX should work in a measure:
- Anonymous7 years agoNot applicable
Hi Greg,
I am definatly using a measure!
Below is the Error Message:
MdxScript(Model) (189, 17) Calculation error in measure 'fact_CRM_Incident'[Business Days Active]: The start date in Calendar function can not be later than the end date.
I would like to also reference my holiday flag column which is a Yes/No field in my dim_date table.On another note the Closed on date column contains blanks if a ticket is in an "active" or Open state in which case the business days calc should continue to count till current day until a closed date is added in the dataset.
Appreciate the help mate.
- Anonymous7 years agoNot applicable
I am receiving the same error. Did you ever figure out the solution?
Thanks!