Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
GH21
Frequent Visitor

Count of type in a column

Hi All, 

 

Looking for an answer if it is possible to count the amount of times a word is mentioned within a column. For example we have a column with different selections such as Closed, Expired, Open, Started, Hold and In-Contract. Is it possible to count the amount of times Closed is in the column? 

 

Also can I do the same for a RAG status looking to count the amount of Red's, Amber's and Green's?

 

Thanks in Advance

1 ACCEPTED SOLUTION

Hello @GH21 ,

 

Please remove the Bracket (  before the calculate 

 

If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

Follow me on Linkedin



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




View solution in original post

3 REPLIES 3
Idrissshatila
Super User
Super User

Hello @GH21 ,

 

try this

 

Count of Expired= calculate(countrows(tableName), column = "Expired")

If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

Follow me on Linkedin



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Hi @Idrissshatila, it's not working on my end just saying this 

GH21_0-1680614658465.png

 

Hello @GH21 ,

 

Please remove the Bracket (  before the calculate 

 

If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

Follow me on Linkedin



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.