Forum Discussion

PowerBPainful's avatar
PowerBPainful
Frequent Visitor
2 years ago
Solved

Calendar Table Not Filtering

Hello,   I have a calendar table created using the following code: tbl_MoDaYr =     VAR  _DateSel = IF([MainFilterString]="Product A",DATE(2022,3,1),DATE(2023,1,1))     VAR _Calen = CALENDAR(_D...
  • PowerBPainful's avatar
    PowerBPainful
    2 years ago

    NVM, found my issue. I realized I had placed Calculate as a VAR and just found that VAR are immutable so moved my Calculate after the Return and all is well. Thanks for your help.