Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
learner03
Post Partisan
Post Partisan

Today() Format problem

I have a measure based on TODAY(), which is-

Current Closed Orders = 
CALCULATE (
COUNT( 'Packing Jobs'[JobID] ),
FILTER ( ALLSELECTED('Packing Jobs'), [Job Close Time(Date format)] =TODAY() )
)
This works fine in desktop but when I publish this in service and schedule refresh, I have seen that it doesn't show values till 10:00 am and shows BLANK as I think it takes UTC time for refresh. I am based in Australia. After the 10:00 am refresh it shows values.
To overcome this I have created this offset and trying this for the first time, but it shows below error. What am I doing wrong here?
akapoor03_0-1628565365059.png

 

 
1 ACCEPTED SOLUTION
wdx223_Daniel
Super User
Super User

test returns a text value, it can not compare with a date value

try add a VALUE in the code of test

VALUE(FORMAT())

View solution in original post

1 REPLY 1
wdx223_Daniel
Super User
Super User

test returns a text value, it can not compare with a date value

try add a VALUE in the code of test

VALUE(FORMAT())

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.