cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
dalacarelia_196
Level: Powered On

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
Community Support Team
Community Support Team

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
Community Support Team
Community Support Team

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

dalacarelia_196
Level: Powered On

Re: Count rows i database using dropdown list

Thank you , it realy helped me . 

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (5,276)