Forum Discussion

Faadiz's avatar
Faadiz
Frequent Visitor
7 years ago

Unpivot multiple columns without duplicates - Downtime by Work center & Downtime type

Hi,

 

i need to *unpivot *Highlighted* columns only so that for each day i can see total downtime (by type) for each work center.

 

all other columns should remain as it is.

 

sorry i am not an IT expert but a Marketing guy to loves to play with Power BI.

 

2 Replies

  • Faadiz it is pretty easy, once you connected with the excel data in powerbi, click edit query, select all the columns you dont want to unpviot, right click and select Unpivot other columns

     

    Let me know if you run into any issue.

    • Faadiz's avatar
      Faadiz
      Frequent Visitor

      Hi Perry, thank for your help.

       

      but the rows are duplicating as well.

       

      bottom picture is what was unpivotted.