cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper III
Helper III

Count rows i database using dropdown list

Hi my problem is combining this two
Solved to count logs by using ropdownlist selecting typeof class
CountIf('visit-log';Program.Value = ddprogram.Selected.Value )
and i solevd the total amount of logs for contract
CountIf('visit-log';purpose.Value = "Contract")

No i want to show contracts by class in my textbox instead of the total
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Count rows i database using dropdown list

Hi @dalacarelia_196,

Do you want to combine the two CountIf formula within your app?

I have made a test on my side, please take a try with the following formula:

CountIf('visit-log'; Program.Value = ddprogram.Selected.Value && purpose.Value = "Contract")

Or

CountRows(Filter('visit-log'; Program.Value = ddprogram.Selected.Value && purpose.Value = "Contract"))

More details about the && operator in PowerApps, please check the following article:

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/operators

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Highlighted
Community Support
Community Support

Re: Count rows i database using dropdown list

Hi @dalacarelia_196,

Do you want to combine the two CountIf formula within your app?

I have made a test on my side, please take a try with the following formula:

CountIf('visit-log'; Program.Value = ddprogram.Selected.Value && purpose.Value = "Contract")

Or

CountRows(Filter('visit-log'; Program.Value = ddprogram.Selected.Value && purpose.Value = "Contract"))

More details about the && operator in PowerApps, please check the following article:

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/operators

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Highlighted
Helper III
Helper III

Re: Count rows i database using dropdown list

Thank you , it realy helped me . 

Helpful resources

Announcements
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (5,925)