Forum Discussion
successken
10 years agoRegular Visitor
Today Filter in Reports
I'm not if I'm missing this. Is it possible to create gauge reports and such with a date filter of Today or Yesterday without utilizing the Q&A? My goal is to have a quick dashboard reference on ...
austinsense
Impactful Individual
10 years agoYou could create calculated columns on the date table ...
TODAY FLAG = IF( Date[Date] = NOW(),1,0) YESTERDAY FLAG = IF( Date[Date] = NOW()-1,1,0)
and then use those as filters on the page or visualization.
successken
10 years agoRegular Visitor
Thank you. I took your idea and applied it in Power Query with
if Date.IsInCurrentDay([Date]) then "Today"
else if Date.IsInPreviousDay([Date]) then "Yesterday"
else ""