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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
SteveOstroff
New Member

PlotlyJS Visual - Replace "trace o", "trace 1" with line parameter name

I have been looking at different visuals for complex line charts and settled on the relatively new PlotlyJS visual from Appsource.  It provides the flexibility I am looking for to show multiple likes and splits and aggregations where the basic Power BI charts cannot hand multiple lines with Legend in the same chart.

The interface allows the trace to be defined as follows.

SteveOstroff_0-1674164707320.png

where time is on the x-axis and Power is on the Y axis.  In the table, the power is representative of multiple entities that are indicated in the unitinSystem value so there is a Transform associated with the line (trace 0) as

SteveOstroff_1-1674164833924.png

In terms of data presentation, the data is there and looks as follows:

SteveOstroff_2-1674164985341.png

Now, when I do the same for a chart wherein there are multiple lines, for example.

SteveOstroff_3-1674165103530.png

... and with a Transform and Filter applied to the data...

SteveOstroff_4-1674165177305.png

 

The resulting graph shows the line as:

SteveOstroff_5-1674165255989.png

The primary problem is that I want to replace "trace 0" with HPolDL_AGCCap and "trace 1" with HPolDLOscGain which are more meaningful to the audience without having to look at the graph construction.

 

Any help is appreciated.

 

1 REPLY 1
Ilfat
Regular Visitor

Hello, 

 

Unfortunately the feature doesn't work properly with X axis. I will include the fix to the next version of the visual.

Thanks for question/idea.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Top Solution Authors