Forum Discussion
Stacked Column chart with values from multiple columns from Same file
- 8 years ago
Hi PKPavanK,
If I understand you correctly, you can firstly use the Upivot Columns option in Query Editor to unpivot the columns that you want to show on the chart, and then create a new column to indicate if the Value is null, then you should be able to show the Attribute column as Axis, new column as Legend, count of new column as Values to get your expected result.
For more details about how to Pivot and Unpivot with Power BI, you can refer to this article. :smileyhappy:
Regards
Hi PKPavanK,
If I understand you correctly, you can firstly use the Upivot Columns option in Query Editor to unpivot the columns that you want to show on the chart, and then create a new column to indicate if the Value is null, then you should be able to show the Attribute column as Axis, new column as Legend, count of new column as Values to get your expected result.
For more details about how to Pivot and Unpivot with Power BI, you can refer to this article. :smileyhappy:
Regards
I have one more question. After visualizing the unpivoted data, I get to see the chart as required. But, if I want to see the row level data it is not possible due to the table being unpivoted. Any iput on how can I go ahead to achieve that?