The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi,
I am loading data from an excel worksheet which ha a matrix with months on columns and then one column that has multiple hierarchies in stepped format like below
I would like o convert the second column into mulitple columns according to its hierarchy. However, I do not see any option in Power BI power query to do this when importing the data. I tried to unpivot this column but that did not help.
Can someone please guide me how to achieve this.
Shah
Hi @arifshah
Can you share the pbix or excel data and also mentioned the expected output in excel form.
it would be better for us to work on exact requirement.
@arifshah , what is logic for a parent. Like
New column in Power query
if [Jan 2020] = null then [Column 2] else null
If this does not help
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
Thanks for replying. I am not sure what is your solution providing. I need to split the highlighted column according to the hierarchy. Your solution does not do that