Forum Discussion
Power Automate email with Power BI data - need today's date (instead of report filter)
- Anonymous2 years ago
Hi Ltbabyj ,
Please try:VAR __DS0FilterTable = FILTER( KEEPFILTERS(VALUES('DailyLogManpower'[created_at])), AND( 'DailyLogManpower'[created_at] >= (UTCNOW() - 1) , 'DailyLogManpower'[created_at] <= UTCNOW() ) )You can decide which function to use based on the results returned by measure in the demo.
TODAY function (DAX) - DAX | Microsoft Learn
UTCNOW function (DAX) - DAX | Microsoft Learn
UTCTODAY function (DAX) - DAX | Microsoft LearnBest Regards,
Gao
Community Support TeamIf there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!How to get your questions answered quickly -- How to provide sample data in the Power BI Forum -- China Power BI User Group
Hi Ltbabyj ,
Please try:
VAR __DS0FilterTable =
FILTER(
KEEPFILTERS(VALUES('DailyLogManpower'[created_at])),
AND(
'DailyLogManpower'[created_at] >= (UTCNOW() - 1) , 'DailyLogManpower'[created_at] <= UTCNOW()
)
)
You can decide which function to use based on the results returned by measure in the demo.
TODAY function (DAX) - DAX | Microsoft Learn
UTCNOW function (DAX) - DAX | Microsoft Learn
UTCTODAY function (DAX) - DAX | Microsoft Learn
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data in the Power BI Forum -- China Power BI User Group