web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Pie Chart 'In' or 'Exa...
Power Apps
Answered

Pie Chart 'In' or 'ExactIn' Operator overcounting

(0) ShareShare
ReportReport
Posted on by

Hi,

 

I have a pie chart fetching data from my list that searches a column for certain words, however one of the words is included twice (i.e. Confidential, Highly Confidential) as such the countif is duplicating it twice, any help?

 

It works fine for Highly Confidential but will capture that word as part of Confidential search.

 

 

 

[
{ Count: CountIf('ListName', "Not Marked" exactin ColumnName)},
{ Count: CountIf('ListName', "Confidential" exactin ColumnName)},
{ Count: CountIf('ListName', "Highly Confidential" exactin ColumnName)}

]

 

 

 

In this case it produces:

"Not Marked" as say 10 results which is true. 

"Confidential" as 10 results which is false, there is only 5.

"Highly Confidential" as 5 results.

 

Unsure on which operator to use or a different method

 

Categories:
  • Verified answer
    HectorOlivos Profile Picture
    411 on at

    Hello @JSeymour !

     

    Can you try with this:

     

    [ 
    { Count: CountIf('ListName', "Not Marked" in ColumnName) }, 
    { Count: CountIf('ListName', "Confidential" in ColumnName) - CountIf('ListName', "Highly Confidential" in ColumnName) }, 
    { Count: CountIf('ListName', "Highly Confidential" in ColumnName) }
    ]

     

  • JSeymour Profile Picture
    on at

    Hiya,

     

    Sorry for the delayed response! That worked perfectly, thank you so much 🙂 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 236 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 188 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 150

Last 30 days Overall leaderboard