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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

Reply
darker17
New Member

Custom Visual does not accept custom measure for text data

Hello, 

I am new to this community and I am trying to adapt a custom visual to meet my needs.

 

The issue is that when I am trying to populate the custom visual with Measure data which are of type Text, Power BI Desktop does not let me keep the text (it forcefully aggregates/summarises it by either Count or Count Distinct). I even used a custom measure on the text data and it does not let me use it as a measure data. 

But when I tried this in the Power BI service it let me enter the text column inside the measure (by aggregating it using First, Last which were not an option in PowerBI Desktop) and it also accepted the custom measure on the text column without any issues.

 

Does anyone know how I can adapt the custom visual to accept text data without forcefully aggregating it to integers and work in Power BI Desktop? 

 

For more context, the custom visual I am adapting is KPI grid and I am using hierarchy data for grouping and a list of URLs as the text data.

0 REPLIES 0

Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

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.

Top Solution Authors
Top Kudoed Authors