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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.

Top Kudoed Authors