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

Dataverse Table/Rows and Date

Hi All

 

I'm wondering if its possible to create an app that will give me the following information: - 

 

Dataverse Table Name

Number of Rows in Table

Oldest and Newest Date in Table

 

Essentially, i am currently migrating data from an on prem  SQL DB into a PowerApps dataverse and trying to sort of match up what i have done as best i can. What i'm trying to understand is if i can: - 

 

Connect to the Dataverse

Have a drop down to select the table

Hit a button which will give me the oldest/newest date and number of rows

 

Any help would be appreciated

 

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
v-xiaochen-msft
Community Support
Community Support

Hi @SteveWWHA ,

 

You need use hard code.

vxiaochenmsft_0-1629772037994.png

Dropdown onchange:

Set(Count,Blank());Set(First,Blank());Set(Last,Blank())

vxiaochenmsft_1-1629772053241.png

Button onselect :

If(Dropdown1.Selected.Value="TestL9",Set(Count,CountA(TestL9.'Created On'));Set(First,First(TestL9).'Created On');Set(Last,Last(TestL9).'Created On'),Dropdown1.Selected.Value="TestL10",Set(Count,CountA(TestL10.'Created On'));Set(First,First(TestL10).'Created On');Set(Last,Last(TestL10).'Created On'))

 

vxiaochenmsft_2-1629772096140.png

 

Best Regards,

Wearsky

 

 

View solution in original post

1 REPLY 1
v-xiaochen-msft
Community Support
Community Support

Hi @SteveWWHA ,

 

You need use hard code.

vxiaochenmsft_0-1629772037994.png

Dropdown onchange:

Set(Count,Blank());Set(First,Blank());Set(Last,Blank())

vxiaochenmsft_1-1629772053241.png

Button onselect :

If(Dropdown1.Selected.Value="TestL9",Set(Count,CountA(TestL9.'Created On'));Set(First,First(TestL9).'Created On');Set(Last,Last(TestL9).'Created On'),Dropdown1.Selected.Value="TestL10",Set(Count,CountA(TestL10.'Created On'));Set(First,First(TestL10).'Created On');Set(Last,Last(TestL10).'Created On'))

 

vxiaochenmsft_2-1629772096140.png

 

Best Regards,

Wearsky

 

 

Helpful resources

Announcements
Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on August 17, 2022 at 8am PDT.

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.

Users online (1,828)