Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

Count ColumnChart

(0) ShareShare
ReportReport
Posted on by 151
Hey ho,
 
i need a "ColumnChart" with singel datas.
 
 
My formular is:
CountA( Table( Distinct(SharepointList;Location)))
But it is underline in Red with failure massage: "Table Value needed"
 
Heeelp :D
  • MiniMax92 Profile Picture
    151 on at
    Count ColumnChart
    Hey, 
    Yes. The Formular is in Items and your Formular is the same result with no Chart :(
  • AhmedSalih Profile Picture
    6,678 Super User 2025 Season 1 on at
    Count ColumnChart
    Hello, Distinct function return a table with one column. Have you tried to use only the distinct function with the Table function? 
     
    CountA(Distinct(SharepointList;Location))
  • MiniMax92 Profile Picture
    151 on at
    Count ColumnChart
    Thx for your reply,

    i try it but now I no longer have an error message, but no columns are displayed. Although there is data in the column. The aim is to count how many are in Location 1 and how many are in Location 2 and so on. And Distinct filters the same locations, that works great too but somehow it doesn't count them.

    As you can see in the picture, the names also overlap with each other.
     
  • D_D Profile Picture
    107 on at
    Count ColumnChart
    Hi,
     
    do you try to use the Formula as your Items of the Column Chart?
    CountA returns a number, but you need to pass a table as items. This is what the failure message says.
    You can try Items = Table(Distinct(SharepointList;Location)) and view the resulting chart.

     
    --------------------------------------------------------------------------------------
    If this helps you or solved your question, please like or mark this as an answer.
    Best regards, David

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,524 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,906 Most Valuable Professional

Leaderboard