Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I have two cards in a direct query, that is published to the service, from an SQL database, that work off TODAY = UTCNOW()+12/24.
A date card.
A data card, which accumulates turnover for the day.
The date card always reflects the current date and time, however I would expect the data card to be zero, first thing in the morning, but this is not the case, as still reflects yesterday's data until UTC Midnight.
What am I doing wrong?
Solved! Go to Solution.
@roydonc
The problem can be the dax formula of the data card. To count the accumulates turnover for the day, you normally have Date/time value instead of just Date, in this case you should use now() instead today(), can be something like:
today turnover = Calculate(Sum([Turnover]),Filter(Table,[DateTime]=Now()))
Paul Zheng _ Community Support Team
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@roydonc
The problem can be the dax formula of the data card. To count the accumulates turnover for the day, you normally have Date/time value instead of just Date, in this case you should use now() instead today(), can be something like:
today turnover = Calculate(Sum([Turnover]),Filter(Table,[DateTime]=Now()))
Paul Zheng _ Community Support Team
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Direct Query doesn't mean automatic refresh. Visuals (and datasets) are only refreshed when the user interacts with the visuals and filters.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.