Forum Discussion

Marco_88's avatar
Marco_88
Helper I
1 year ago
Solved

Read and manage different XLS in folder

Good morning everyone, I need some help manipulating data. I’ve tried but get stuck at several steps—maybe my approach is wrong. I still consider myself a beginner. My goal is to have a dashboard t...
  • v-priyankata's avatar
    v-priyankata
    1 year ago

    Hi Marco_88 
    Based on my understanding of your requirements, I have listed the points below. Please take a look.

    It looks like you're losing some rows (like "var1") in Power BI because of how the subcontractor columns are being unpivoted. Basically, if a row has no values in those columns (the ones after "AAA COSTS"), Power BI might just drop it during the unpivot step.

    To avoid that, try unpivoting the columns in a way that keeps all rows even the ones where everything is blank. One easy way is to use Unpivot Other Columns and make sure you're not accidentally filtering anything out. You can also replace the nulls with zeros afterward if that helps keep things clean.

    This way, all your data stays intact, even if some rows have no subcontractor costs, and your dashboard reflects the full picture.

    If I misunderstand your needs or you still have problems on it, please feel free to let us know.  

    Thanks.