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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.