Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi All,
Is it possible to use categorical variables such as (Colour/Department) etc.. to colour the simple bar and column charts)?
For e.g. if i have a sales by product chart, and each product belongs to a particular department.
Can i create a column chart which shows the sales by product and a colour coding based on the department?
By
Gnanasekar
No, it's not possible.
Hi @Gnanasekar,
Have you tried the solution provided by @Anonymous above? Does it work in your scenario? If it works could you accept it as solution to close this thread?
If you still have any question on this issue, feel free to post here.
Regards
Hi
You can achieve that by using legend. Check the below screenshot. Let me know if you need some other logic.
Hi @Anonymous and @v-ljerr-msft
When i use the department as legend, there is a bar corresponding to each department for every product. ie, there are 3 bars corresponding to A,B,C for every product. We will be having more than 100 products and so the bars will be displayed like lines.
Sales is calculated as the MRP*Qty.
By Gnanasekar
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
100 | |
80 | |
64 | |
58 |
User | Count |
---|---|
148 | |
111 | |
93 | |
84 | |
66 |