Forum Discussion
Abdulazizsagga
4 years agoRegular Visitor
mesaure dynamic text (Active or Expired) based on date Colum (Contract End Date)
Hello I have card visual and i need to create mesaure dynamic text (Active or Expired) based on date Colum (Contract End Date) for example : the end date of contract A is 11/05/2021 the result ...
- 4 years ago
Abdulazizsagga Try:
Column = IF(TODAY()>[End Date],"Active","Expired") Measure = IF(TODAY()>MAX('Table'[End Date],"Active","Expired") - 4 years ago
If you want the card visual to show blank until you select one contract, you can try this,
Measure = IF(ISBLANK(SELECTEDVALUE('Table'[contract])),BLANK(),IF(SELECTEDVALUE('Table'[End Date])<TODAY(),"Expired","Active"))Best Regards,
Community Support Team _Tang
If this post helps, please consider Accept it as the solution to help the other members find it more quickly.
Abdulazizsagga
4 years agoRegular Visitor
if date has passed compared with today’s date
- Greg_Deckler4 years ago
Community Champion
Abdulazizsagga Try:
Column = IF(TODAY()>[End Date],"Active","Expired") Measure = IF(TODAY()>MAX('Table'[End Date],"Active","Expired")