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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Anonymous
Not applicable

Conditional formating color: VisualEnumerationInstanceKinds

Hi and ty in advance : )

I need prepare custom visual with conditional color.

custom-color.PNG

 

I try to follow this article: Add conditional formatting
in https://docs.microsoft.com/

First steep:
import powerbiVisualsApi from "powerbi-visuals-api";
import VisualEnumerationInstanceKinds = powerbiVisualsApi.VisualEnumerationInstanceKinds;

But dont working:
Namespace 'powerbi' has no exported member 'VisualEnumerationInstanceKinds'.

Does anyone know an updated tutorial?

Ty!




 

1 ACCEPTED SOLUTION
v-lionel-msft
Community Support
Community Support

Hi @Anonymous ,

 

Have you install GitHub - microsoft/powerbi-visuals-api: Power BI custom visuals API?

 

Solved: Error when importing 'powerbi-visuals-utils-toolti... - Microsoft Power BI Community

 

Best regards,
Lionel Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-lionel-msft
Community Support
Community Support

Hi @Anonymous ,

 

Have you install GitHub - microsoft/powerbi-visuals-api: Power BI custom visuals API?

 

Solved: Error when importing 'powerbi-visuals-utils-toolti... - Microsoft Power BI Community

 

Best regards,
Lionel Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

Hi friend, : )

I have checked the version that I had installed: 2.6.1.

In git: 3.6.0

Seem pbiviz CLI (start) is not updated.

THANKS A LOT!

Important:
to update, set pbiviz.json

{"visual":{"name":"customCard","displayName":"customCard","guid":"customCard0D644CDE173E476EB5F5A6B357CA0CE8","visualClassName":"Visual","version":"1.0.0","description":"","supportUrl":"","gitHubUrl":""},"apiVersion":"3.6.0","author":{"name":"","email":""},"assets":{"icon":"assets/icon.png"},"externalJS":null,"style":"style/visual.less","capabilities":"capabilities.json","dependencies":null,"stringResources":[]}



Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.