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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Roman_Slezko
Regular Visitor

Error when using a text measure

When trying to use a text measure (Measure = "text") in a card or tooltip, the system generates the following error: "Failed to load data for this visual element. Unable to convert value "text" of type Text to type Numeric". This error appears only lately and only in one file. The same measures created earlier work without the error. If you make a copy of a working measure (without changes), it too stops working and generates the error indicated above. I don't want to re-create the file, a lot of effort has been put into creating it. Maybe someone has encountered this error and knows how to fix it? Hope for your help!

1 REPLY 1
Roman_Slezko
Regular Visitor

The error has been corrected. The reason was the filter SELECTEDMEASURE() / 1000, which I used to dynamically change the digit capacity of numbers in the visual elements. The system was dividing the text by 1000 and generated an error. I solved the problem by including the text measures in exceptions through the "If" function.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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