cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

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