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 / How can I only show gr...
Power Apps
Answered

How can I only show greater than zero values column in column chart.

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Here is a problem which I am facing. Kindly refer image.

problem.PNG

As you can see in my column chart if ticket count is zero for SBU still it is visible in  chart. I want to show only those SBU whoes ticket count is greater than 0. below is my code for chart Item property.

"If(
SBUSeletion = "All",
Filter(
CountOfSBU,
Or(
SBU = "Europe SBU",
SBU = "Global FS SBU",
SBU = "Cloud Infrastructure Services (CIS)",
SBU = "Americas & APAC SBU:(North America)",
SBU = "Americas & APAC SBU:(LATAM)",
SBU = "Americas & APAC SBU:(APAC Platform)",
SBU = "Corporate Common and Other (Group IT)",
SBU = "Engineering Services (DEMS)"
)
),
Filter(
CountOfSBU,
SBU = SBUSeletion
)
)"

--

CountOfSBU is my collection which has SBU and their ticket counts. how can edit my code or some other solution so that only more than 0 tickets count should be visible in chart.

 

Suggest some solutions.

Thanks in Advance!

Categories:
  • Verified answer
    CU-18081211-6 Profile Picture
    9,272 Moderator on at

    Hi @Anonymous ,

     

    Try to filter the collection based on TicketsCount column values  greater than 0 ...smthg like:

    If(
    SBUSeletion = "All",
    Filter(
    CountOfSBU,
    TicketsCount>0
    ),
    Filter(
    CountOfSBU,
    SBU = SBUSeletion
    )
    )

     Hope it helps !

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thanks It helped. Thanks alot.🙂

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 352 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 323

#3
Mohsin Ali Profile Picture

Mohsin Ali 226

Last 30 days Overall leaderboard