Hi All
JOB- is to compare the date in database with latest date and if the database do not has the latest date data then do not send email or if it has then the flow will extract pdf and send in email.
PROBLEM- i am trying to extract a date form my power bi tables and compare it with current system date.
can some one hep on how to get this done.
what i have tried so far-
1. get date as first row from the table in pbi - Run a query against a dataset.
output is a json format
input- (Query text- EVALUATE
LASTDATE(bi_daily_agg_engagement[date])
2. compare to get the latest date - from Compore -
formatDateTime(utcNow(),'ddd,dd-MMM-yyyy')
3. not sure on how to convert the json output from pbi to a date and also compare with latest system date.
Kindly share more insights on this help.