Hello, powerbi community! I would like to transform Line and Clustered column chart to Line and Stacked chart. The Line and Clustered column chart consist 3 measures as a data source. However while transforming I just dont want to stack measures which default ability of line and stacked charts. The 2 measures has certain amout of data in common. For example Total Vehicle Sales = Car Sales + Van Sales. As it can be seen below total sales depicted with yellow column and car sales with orange. I would like to transform it to second visual. Yellow is again total sales and orange is car sales. The total sales exceeding slightly car sales because it includes small sales number of van sales.
Thanks in advance!
Solved! Go to Solution.
Hi @Mikail ,
First create a dim table as below:
Then create a column as below:
rank = RANKX('Table (2)','Table (2)'[Measure 2],,DESC,Dense)
Then copy column category and make it sort by rank:
Then use the copy one as column series and you will see:
Check my sample .pbix file attached.
Best Regards,
Kelly
Did I answer your question? Mark my reply as a solution!
Hi @Mikail ,
First create a dim table as below:
Then create a column as below:
rank = RANKX('Table (2)','Table (2)'[Measure 2],,DESC,Dense)
Then copy column category and make it sort by rank:
Then use the copy one as column series and you will see:
Check my sample .pbix file attached.
Best Regards,
Kelly
Did I answer your question? Mark my reply as a solution!
Hi @Mikail ,
Can you add details to your query please like screenshots, measure used, existing chart created, etc.?
https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523
Thanks,
Pragati
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
Put your data visualization and design skills to the test! This exciting challenge is happening now through May 31st!
User | Count |
---|---|
363 | |
105 | |
63 | |
51 | |
49 |
User | Count |
---|---|
336 | |
122 | |
83 | |
68 | |
62 |