Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
HI
i have a table with column "date from" and column "date to"
and anothe table with all dates isung it as a filter
i want to creat a measure which will give me "true" or "false" if the date in the filter is in the range of the "datefrom" -"dateto"
examp - date from = 1/1/2020 date to 9/1/2020 , if i click the filter 10/1/2020 i'll get "false" and if the filter say 2/1/2020 it will be "treu"
thank you!!
Solved! Go to Solution.
@oren
You can create the following measure by checking the attached pbix if necessary.
@oren
You can create the following measure by checking the attached pbix if necessary.
@oren , Try measure like
measure =
if(isblank(max(Date[Date])),0,1)
or
measure =
var _min =minx(allselected(date),date[date])
var _max =maxx(allselected(date),date[date])
return
if(isblank(calculate(countrow(Table), filter(Table, Table[Date] <=_max && Table[Date] >=_min))),0,1)
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
73 | |
72 | |
39 | |
31 | |
26 |
User | Count |
---|---|
97 | |
87 | |
43 | |
40 | |
35 |