Forum Discussion
HenryJS
6 years agoPost Prodigy
Calendar Table Only Showing One Date
Hi All,
I created a calendar table but it only shows one date? What am I doing wrong?
Thanks
Hi HenryJS
I think its a wrong date format question
try
Table = CALENDAR( DATE(2001,1,1), DATE(2021,1,1) )do not hesitate to give a kudo to useful posts and mark solutions as solution
The same as below.
Table 2 = CALENDAR ( CONVERT ( DIVIDE ( DIVIDE ( 1, 1 ), 2001 ), DATETIME ), CONVERT ( DIVIDE ( DIVIDE ( 1, 1 ), 2021 ), DATETIME ) )
4 Replies
- az38Community Champion
- zoloturuMemorable Member
Hi HenryJS ,
Just use double quotes:
Table = CALENDAR("01/01/2001","01/01/2021")Regards,
Ruslan Zolotukhin (zoloturu)
BI Engineer at Akvelon Inc. / Kharkiv Power BI User Group Leader / DAX & Power BI Trainer
-------------------------------------------------------------------
Did I answer your question? Mark my post as a solution!
It was useful? Press Thumbs Up!
You are from Ukraine? If yes then welcome to Power BI User Group - KhPUG website. Other country? Check and find proper one - Power BI User Groups - v-chuncz-msftCommunity Support
The same as below.
Table 2 = CALENDAR ( CONVERT ( DIVIDE ( DIVIDE ( 1, 1 ), 2001 ), DATETIME ), CONVERT ( DIVIDE ( DIVIDE ( 1, 1 ), 2021 ), DATETIME ) )