cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
RoyAmarNice
Frequent Visitor

A column specified in the call to function is not of type date - What can be the problem ?

RoyAmarNice_0-1629625152306.png

 

1 ACCEPTED SOLUTION
CNENFRNL
Super User
Super User

Obviously, column 'Shared ...'[Month] used in TOTALQTD isn't of type Date.


Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is beyond their comprehension!

DAX is simple, but NOT EASY!

View solution in original post

2 REPLIES 2
daxer-almighty
Solution Sage
Solution Sage

Hi @RoyAmarNice 

 

I'd kindly suggest that you stop using the quick measures as they are sub-optimal and many a time promote bad coding from which people "learn" (hence, also, their limitations and performance issues). Instead, you should try to write your own versions using the right techniques and applying Best Practices. If in doubt, you can always post a question to these forums.

CNENFRNL
Super User
Super User

Obviously, column 'Shared ...'[Month] used in TOTALQTD isn't of type Date.


Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is beyond their comprehension!

DAX is simple, but NOT EASY!

Helpful resources

Announcements
Carousel_PBI_Wave1

2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

Thank you 2022 Review

2022 Monthly Feature Releases

We had a great 2022 with a ton of feature releases to help you drive a data culture.

Top Solution Authors
Top Kudoed Authors