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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Ashanaik
New Member

Count number of messages in different languages

I want to count number of English messages and hinglish messages for example hinglish like Mai accha hu, AAP kaha se hai etc

1 REPLY 1
Anonymous
Not applicable

@Ashanaik 
Let's take an example suppose you have column in which you have different english and hinglish messages, To count them by english, hinglish category you have to add a column like "Flag" for english meassages = 1 and for hinglish meassages = 0.

Then you can write dax(Make measure):
Flag is column to differentiate type of messages.
For english messages
CALCULATE( COUNT(Messages), Flag = 1)

For Hinglish messages
CALCULATE( COUNT(Messages), Flag = 0)

If i have given the answer. Please mark as a solution.
Thanks


Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.