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

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

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

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

Top Kudoed Authors
Users Online
Currently online: 404 members 3,002 guests
Please welcome our newest community members: