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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
thedaxlearning
Regular Visitor

Using alias in R Custom Visuals

Hi

 

I'm learning how to create custom visuals using r. I'm wondering how I can get the renamed name or alias of the measure/column. Currently I'm only getting the original name.

 

I'm using this code in R:

 

columnNames = colnames(Measures)

 

FYI my data role is: 

 

"dataRoles": [
    {
      "displayName""Measures",
      "kind""Measure",
      "name""Measures"
    }
]
0 REPLIES 0

Helpful resources

Announcements
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 Solution Authors