Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Hello,
I am attempting to add a column (titled 'active') that will be true/false data type based on if today's date is between the start and end date columns. For reference here are some data points below so I have been attempting DAX expressions to measure whether today's date is inbetween the two dates (result would equal true), or if today's date in NOT in between the two dates (result would equal false).
Solved! Go to Solution.
pls try
Active = IF('Table'[Start dar]<=TODAY() && 'Table'[End Date]>=TODAY(),TRUE,FALSE)
pls try
Active = IF('Table'[Start dar]<=TODAY() && 'Table'[End Date]>=TODAY(),TRUE,FALSE)
May I ask, what if the second column is in a different table. How would you write the comparison then?
you need to merge them or move the second column one to the first table
Thank you so much, that was it!
User | Count |
---|---|
134 | |
72 | |
71 | |
55 | |
54 |
User | Count |
---|---|
201 | |
95 | |
63 | |
62 | |
51 |