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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.