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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
luojiandan_bi
Helper I
Helper I

cant get the lastest DataView values

the first time,it's ok. but when I change other field or remove some field,I can't get the lastest DataView values by options.dataViews[0]

 

the code is:

 var cols = options.dataViews[0].metadata.columns
 var names = "";
 cols.forEach(col => {
   names = names + "/" + col.displayName;
 });

 this.target.innerHTML=names; 

 

Thanks in advance   

 @v-viig 

 

option.pngdataviewmappings.png

0 REPLIES 0

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 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