Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Legend with true/false category values does not keep colors after refreshing #1

Open
kamilzakiev opened this issue Apr 4, 2018 · 1 comment
Labels
bug Something isn't working

Comments

@kamilzakiev
Copy link

Details from customer:

I have used this visual with the imported model, live query connection to a database and with a live connection to a tabular cube. When used with a live connection to a tabular cube, the colours of the items revert back to the default green. This happens when the data gets refreshed. I had Red and Green colours setup for data values where it's Yes' or 'No' and the colours reverted back to all green when the data was refreshed. The same doesn't happen with the imported model or live query connection to a database.

Additionally, customer noticed that "false" value is not presented correctly in the formatting pane in "Type colors" group - that might be the reason of the problem.

image
(left is Hierarchy Chart and right one is Pie chart to compare with)

@kamilzakiev kamilzakiev added the bug Something isn't working label Apr 4, 2018
@jusbuks
Copy link

jusbuks commented Jul 18, 2018

I have exactly the same case study. Power BI is directly connected via live connection to SSAS Tabular model (to be more specific it is Azure Analysis Service). I added type to have control over colors (as default green does not correspond well with clients color palette).

It might be important information that in my case I have model that have many "roots". So when page is unfiltered I have that warning information, but the use case of this chart is to show shareholders structure and it is used on page designed to be filtered just by single company ("root") at time. So it is ok to have that warning when business user clear "Company" filter. It works fine, but each time user change filter to different Company then colors are back to default green. In my case color is set by relations with that root/filtered company. So whole tree that is shown after filtering should be with one color.

When I set Type Colors on unfiltered chart with warning I can set colors to each type of relation. But when I filter to one company there might be just one type of relation so on this level I can set color just to what relation is currently filtered. Once I set it on this filtered level then even after Refresh or unfilterring and filtering again to exactly the same Company - colors are properly saved. But whenever I choose different company (for which I didn't set colors on filtered view) it is again default green. The issue is that I have thousands of those roots so I am not able to set up colors for each one separately and seting colors on unfiltered view does not work (well I can set it but when filtered again for new root color is still default green).

It's quite complicated so sorry if it is not clear enough I am ready to explain in more details those issues if you need. My question is when do you expect to fix this error? Or alternatively - do you plan to add option for changing default color? Or make default color white, which would be easier to adapt to reports with different color palette?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants