Explore Courses Blog Tutorials Interview Questions
0 votes
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

0 votes
1 answer
asked Dec 3, 2020 in BI by Chris (11.1k points)
0 votes
1 answer
asked Apr 5, 2021 in BI by Chris (11.1k points)
0 votes
1 answer
0 votes
1 answer
Welcome to Intellipaat Community. Get your technical queries answered by top developers!

29.3k questions

30.6k answers


104k users

Browse Categories