cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
GideonTA
Frequent Visitor

Variable not working

I have a variable in a working PowerApp connected to SharePoint as datasource and the same variable is not working in the PowerApp when I switched the datasource to Dataverse. I have deleted and applied it agin but still not working. The variable gives consecutive Mondays from the Current Monday to future Mondays for scheduling.

Set(
currentMonday,
DateAdd(
Today(),
-1 * (Weekday(
Today(),
Monday
) - 1),
Days
)
);

In the App, am using the For All sequence to pull the future Mondays.

ForAll(Sequence(7, 0,7) As MyInterval, DateAdd(currentMonday, MyInterval.Value))

Its just confusing that, with a change in datasource, this particular variable and the For All sequence doesn't work. Help!!!  

0 REPLIES 0

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Top Kudoed Authors
Users online (2,072)