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
Anonymous
Not applicable

Custom Visual won't display

I am still on the early stage of getting the Custom Visual working stage.  I was following the tutorial from Microsoft

https://docs.microsoft.com/en-us/power-bi/developer/custom-visual-develop-tutorial

So far I am getting to a point that the "UPDATE COUNT:0" example working.  So all the npm, certificate, compiler works.

 

Then I was trying to follow an example where I can plug in some data.   I downloaded this simple histogram example from Microsft:

https://github.com/Microsoft/powerbi-visuals-histogram/

 

Here are the steps I did:

1. Download the zip from github.

2. Unzip it and did an npm install

3. pbiviz start

 

In power bi my workspace, I used my dataset to use this custom visual, dragged my data into the visual, and nothing shows up (see figure below)

doesn't display on web portaldoesn't display on web portal

 

Then just to make sure my data is not the culprit of this issue.  I did some checking with my Power BI Desktop:

 

1. Under the same directory in powershell,  pbiviz package

2. the I imported the .pbiviz file from the dist folder into my Power Bi Desktop.

3. drag the data into the visual, it shows correctly (See below)

desktop.png

 

Here is my data file in dropbox

https://www.dropbox.com/s/iamccmlmrox4gkj/rData.pbix?dl=0

 

Can anyone help please?  Thanks!

1 REPLY 1
Anonymous
Not applicable

Hi I have the similar issue, I think it links to some api issue. I had trouble cloning and viewing the repos from GitHub except the file with api version 2.3.0

Hoping someone can come up a solution.

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.