Forum Discussion
Power Bi
- Anonymous2 years ago
Thanks for the reply from lbendlin , please allow me to provide another insight:
Hi, Anonymous
Regarding the issue you raised, my solution is as follows:
1.First I have created the following table and the column names and data are the data you have given:
2.only need to ensure that the same color and classification are consistent, and the modification I made to my data is to create the following calculation columns:
Column = RIGHT('Table'[ip_program],3)3. Then we modify the visualization as follows:
4.Here's my final result, which I hope meets your requirements.
Please find the attached pbix relevant to the case.
Of course, if you have any new ideas, you are welcome to contact us.
Best Regards,
Leroy Lu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks lbendlin for the response. In fact, in my table, project and ip_program are two seperate columns. So it is not one field named "projectip_program".
| Project | ip_program |
| x | x_ip1 |
| x | x_ip2 |
| x | x_ip3 |
My reason to create measures is that I want to use a stacked bar chart for my visualization showing the total number of ip programs, color coded with each of the ip-program name. For this scenario if you have any recommendation rather than using measure? Here I attach an image example of my chart in which each color represents an ip_program name
Thanks
ā
Thanks for the reply from lbendlin , please allow me to provide another insight:
Hi, Anonymous
Regarding the issue you raised, my solution is as follows:
1.First I have created the following table and the column names and data are the data you have given:
2.only need to ensure that the same color and classification are consistent, and the modification I made to my data is to create the following calculation columns:
Column = RIGHT('Table'[ip_program],3)
3. Then we modify the visualization as follows:
4.Here's my final result, which I hope meets your requirements.
Please find the attached pbix relevant to the case.
Of course, if you have any new ideas, you are welcome to contact us.
Best Regards,
Leroy Lu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.