Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello...
I am trying to create a custom visual which has table as output from static data.
I am following "Table Data Mapping" from below link and I am not able to incorporate different pieces of code in one typescript file using CLI tool to create a table as shown in below link :
I have added below lines of code to create a table data view from data but it is not displaying anything.
var table = dataView.table;
debugger;
if(table){
var tablerows = table.rows;
var tablecolumns = table.columns;
var tabletotals = table.totals;
for(var i=0; i< tablerows.length; i++)
{
for(var j=0; j<tablecolumns.length; j++)
{
var value = tablerows[i][j];
viewModel.values[i].values.push(value);
}
}
}
}Can anyone please help me to understand the structure of typescript file to create a simple table with static data?
Is there any sample template available for creating visualization in table format?
Thank You...
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 3 | |
| 3 | |
| 2 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 11 | |
| 7 | |
| 4 | |
| 3 | |
| 3 |