Hi @Vatsala1
You can try below code in Canvas app,
// Check if the user has submitted feedback in the last month
If(
IsBlank(LookUp(LocalStorage, Title = User().Email && FeedbackDate >= Today() - 30)),
// If the user has not submitted feedback in the last month, show the Feedback Form
Launch("https://app.powerbi.com/groups/me/reports/81009779-72d3-467c-a5ea-e1bb0118071b/ReportSectiondc51371e..."),
// If the user has submitted feedback in the last month, do nothing
Notify("You have already submitted feedback in the last month.", NotificationType.Information)
);
// Patch the feedback data to your data source
Patch(
'Feedback Form - L&D Coaching Inputs',
Defaults('Feedback Form - L&D Coaching Inputs'),
{
Title: User().Email,
'Associates Name': Concat(userlist, Value, ";"),
'Skip Level Associates': Concat(skipassociate, Value, ";")
}
);
// Update local storage with the current feedback submission date
Patch(
LocalStorage,
Defaults(LocalStorage),
{
Title: User().Email,
FeedbackDate: Today()
}
);
Thanks!
Inogic Professional Service Division
An expert technical extension for your techno-functional business needs
Power Platform/Dynamics 365 CRM
Drop an email at crm@inogic.com
Service: http://www.inogic.com/services/
Power Platform/Dynamics 365 CRM Tips and Tricks: http://www.inogic.com/blog/