Forum Discussion
How to Assign text value based on dates while the date variable are in 2 different tables
Amazing both dax worked. Great!!!!
Am discovering new things as i go. Here is where I am stuck at, The activity can be repeated in the same district at different dates. How do i make the formular to look into specific dates for that specfiic round
The measure takes in the start date and end date irresppective of the location (district)See the marked are the 2 dates that the measure is using to assign IN or END process. My extection is it will evaluate based on the district too
- MFelix6 years agoSuper User
Hi gathenjic ,
Measure are calculated based on context so the more values you add to your filters, slicers, visuals an so on the more the result of the measure changes so in this cases if you have the district and province the result will be done with the lowest level of granularity.
- gathenjic6 years agoFrequent Visitor
MFelix , the Value should differ based on dates supplied on related row in both tables. I think its more about defining how the relationships are and at the same time there is no unique key in either but are related to a master district tabled
District Response_Type Activity_Start_Date Activity_End_Date Post_start_Date Post_End_Date District1 Round 1 07/02/2020 11/02/2020 12/02/2020 15/02/2020 District2 Round 1 07/02/2020 11/02/2020 12/02/2020 15/02/2020 District1 Round 2 14/03/2020 18/03/2020 20/03/2020 25/03/2020 District2 Round 2 14/03/2020 18/03/2020 20/03/2020 25/03/2020 Province district date_monitored Province1 District1 07/02/2020 Province1 District1 08/02/2020 Province1 District2 09/02/2020 Province1 District2 10/02/2020 Province1 District1 11/02/2020 Province1 District1 14/04/2020 Province1 District1 15/03/2020 Province1 District1 15/03/2020 Province1 District2 16/03/2020 Province1 District2 14/03/2020 - MFelix6 years agoSuper User
Can you please add the result you want on the last table based on the date selection?
Thank you