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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Anonymous
Not applicable

Rename Meansure Data

Hello everyone,

I create a custom visuals, My 2nd dataroles have a kind of Measure. and because this field has a state of Sum, its name automatically starts with Sum of. for example Sum of Quantity. This is quite time-consuming when I want to change the names of many fields to the same name as the original Quantity. Is there an attribute that would help me do this?
Here is my capabilities code
"dataRoles": [
    {
      "displayName": "Category Data",
      "name": "category",
      "kind": "Grouping"
    },
    {
      "displayName": "Measure Data",
      "name": "measure",
      "kind": "Measure"
    }
],
"dataViewMappings": [
    {
      "categorical": {
          "categories": {
              "for": {
                  "in": "category"
              }
},
      "values": {
          "select": [
              {
                  "bind": {
                      "to": "measure"
              }
          }
      ]
    }
}
}
],

NgaMoon_0-1708575767242.png

 

1 REPLY 1
Anonymous
Not applicable

Hello everyone, I really want to know how to automatically remove the "sum of" in the name to only get the name of the field I drag in. I hope everyone knows how to help me.

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.

Top Solution Authors
Top Kudoed Authors