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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
MarkWalton
Regular Visitor

Counting Number of As Bs Cs Ds Es Fs Gs and other in a column.

Hi

 

I am trying to pull out of a data tabla ehow many As Bs etc in a column to return a matrix with a column A-G Other with an adjacent column of numbers of As etc.. To do this I am trying to create a measure but I am just getting a total. Is there a DAX that enables me to ask how many of different Distinct TEXT Letters are in a column to use in reports view?  

2 REPLIES 2
Greg_Deckler
Super User
Super User

Depends on your data, what does it look like?

 

DISTINCT function perhaps if there are just single letters in your data.

 

Please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Mastering Power BI 2nd Edition

DAX is easy, CALCULATE makes DAX hard...

Capture.PNGThese are the data columns I am working with, I cannot get the DAX formula correct to tell me how many A b C D E F ****** etc. are in this column it just returns a total number for the column.

The date column also has erros which I dont understand - the errors are in the blank cells and only become apparent when on import to Power BI.

 

 
 

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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

Top Solution Authors