Intellipaat Back

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

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...