Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!View all the Fabric Data Days sessions on demand. View schedule
Hello,
In a measure, I am trying to compare the time from NOW()to a static value using TIME(), but it is only working on the < condition. The function NOW() is returning 7/28/2020 11:18AM
What I tried:
NOW() < Time(3,30,0) -> returns False
NOW() > Time(3,30,0) -> returns blank()
Am I doing something wrong? I have tried wrapping both the NOW() and TIME() functions in TIMEVALUE(), but that seems redundant. I'm kicking myself over this one as it seems so trivial.
Any help would be greatly appreciated
Hi @Anonymous ,
I have use the same formulas and getting true and false as expected.
What version are you using, and is this a part of a bigger syntax?
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em Português@MFelix I am using Version 2.83 (July release) and It is part of a bigger syntax, but I'm testing only the time comparison component. Here is the full code that I am using right now:
Measure =
Is the days from today a column or a measure?
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em Português@amitchandak This works with the first condition, but it is still returning Blank() when I try:
NOW() > Today() + Time(3,30,0)
@amitchandak I am using it as a report page filter. I actually made a mistake in my post, as It is actually a calculated column in my date table rather than a measure.
Regardless,
if(NOW() >( Today() + Time(3,30,0)) ,1,0) works and returns 1.
Any idea on why it's returning blank when I switch the true condition to TRUE() and the false condition to FALSE()?
@Anonymous , I did not get that
I tried
@Anonymous ,
Try like a below:
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!