Hi Team, I have Data Set A and Data Set B.
I need two filters on top. “Reporting Month” which will have a dropdown of month in format 2025-01, 2025-02 and “Reporting Date” which will be a date picker. Both should apply to all visuals coming from both datasets.
Data Set A has a date field called Month. I converted the Month filter to string called “Relative Month” and currently have this as a control which has 2025-01, 2025-02, format. Currently this only works for dataset A.
Data Set B has date field called Start_Date and End_Date
I created Reporting Date (date picker) control which is already completed, for this I created two parameters StartDate and EndDate.
Start Date is Start of this month and End Date is Current Date. Both are in DateTime format.
I created two calculated field called Start Date and End Date for it.
Start Date = ifelse(datediff(Start_date, StartDate) <=0 AND datediff(End_Date, EndDate) >0,1,0)
End Date = ifelse(datediff(End_Date, StartDate) <=0 AND datediff(End_Date,EndDate) >0,1,0)
I added this filter and defaulted to 1 and also did the same in dataset A and used Month field there. So this filter (Reporting Date ) is now working for all visuals.
The only problem I am facing now is with Reporting Month filter which only filters to Dataset A. It should basically apply to both the datasets.
I thought I will create another parameter called Reporting Month as a String and list dates like 2025-01, 2025-02 and so on but this will not be dynamic. I need a dynamic date but as a dropdown. I cannot even link this to the dataset and link with “Relative Month” as this is a calculated field coming from dataset A. I think the datetime parameter will also not work.
Is there any way I can make this happen? Just to recap I am trying to make Reporting month filter which is a dropdown apply to the visuals coming from both the datasets which currently just works for dataset A. The filter I am using for this is a calculated field called Relative Month. Thanks.