0 votes
1 view
in BI by (11.1k points)
How can I create a Sankey diagram with custom visuals coloring nodes and all?

1 Answer

0 votes
by (22.5k points)

Use the following formula

import ColorUtility = powerbi.extensibility.utils.color;

let yellow = "#FFFF00",
    yellowRGB = ColorUtility.parseColorString(yellow);

ColorUtility.calculateHighlightColor(yellowRGB, 0.8, 0.2);

// returns: '#CCCC00'

Want to learn more about Power Bi, Refer: Power Bi Training       

Related questions

Welcome to Intellipaat Community. Get your technical queries answered by top developers !