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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
George1973
Helper V
Helper V

Count Text content in measure

Hi All,

Please assist in the following issue.

I have the following visual matrix:

NumAvg.ScoreMax Score Single task% Total ScoreVOC LVL
1991212100.00%Good
200111291.67%Good
20191275.00%Medium
202111291.67%Good
2031212100.00%Good
2041212100.00%Good
20571258.33%Bad
20691275.00%Medium
2071212100.00%Good
208101283.33%Medium
2091212100.00%Good
2101212100.00%Good

 

And Only the first column is column from the Data Table. All other columns are measures.

I want to create a measure to count "VOC LVL" values - Intending to know how many "Good", "Medium" and "Bad" records we have.

 

The problem I have is that VOC LVL is also a measure and I can not count its content because it's not a column context.

 

VOC LVL = SWITCH(TRUE(),[Avg.Score]>=11,"Good",[Avg.Score]>=8 && [Avg.Score]<=10,"Medium",[Avg.Score]<=7,"Bad")

 

 

Hope there is a solution.  Your help will be highly appriciated.

 

Thanks in advance,

 

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@George1973 , For that you have to bucket/dynamic segmentation. You need an independent table and create new measure using those

 

Have look at my video and file. if those can help: https://youtu.be/CuczXPj0N-k

 

File attached after signature

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

3 REPLIES 3
amitchandak
Super User
Super User

@George1973 , For that you have to bucket/dynamic segmentation. You need an independent table and create new measure using those

 

Have look at my video and file. if those can help: https://youtu.be/CuczXPj0N-k

 

File attached after signature

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

@amitchandak Thanks a lot!

 

It's was really  helpful. I was also thinking about the indipended table and bins, but the measure you've provided in your video was a real breakthrough 🙂

Thanks.

@amitchandak Here is the final VOC dashboard. With your help the almost 40% of the work was done in very sufficient way.
Thanks a lot once again.

George1973_0-1601645207610.png

 

P.S. Do not get confused with the Georgian writings 🙂

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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