Forum Discussion
nmyre
Helper III
6 years agoCreating a relationship with current date function "NOW()" to show the data for that day.
Hello, My Goal: Make a visualization that shows todays date by creating a column using Get Date = NOW(). It should also show data for that day. Such as the Julian date, the % of the year that has...
- 6 years ago
Hi nmyre ,
Like this?
Today = TODAY()Today_Visual = IF( 'Table 2'[Date] = 'Table 2'[Today], 'Table 2'[Date] )Try to use TODAY() function instead of NOW() function.
Best regards,
Lionel ChenIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
amitchandak
Super User
6 years agonmyre , Not sure I got it. You can get use a relative date filter and use that
https://docs.microsoft.com/en-us/power-bi/visuals/desktop-slicer-filter-date-range
You can have a column like this in date calendar and filter on today
Is Today = if('Date'[Date]=TODAY(),"Today",[Date]&"")
Or have measure like
Calculate([Measure], Table[Date]=Today())
Calculate([Measure], Date[Date]=Today())