I have this query in Power BI, where each product can show many times. Each product can have one or two colors. Each color have a specific percentage.
In the Data view I want to add a couple of columns to show:
- *# colors- shows 1 or 2 depending of the number of colors
- New %- shows the blue % if there are two colors or the actual % if there is only one color, whatever it is
This is the desired final table. How do I get it in Power BI?