Forum Discussion

kjcompton's avatar
kjcompton
Frequent Visitor
3 years ago
Solved

Multiple Queries to Make Dynamic Report

I am trying to make a dynamic report where my end user can select their specific columns that they want to report on, and we are doing this because if you select all the columns you are looking at 60...
  • Anonymous's avatar
    Anonymous
    3 years ago

    Hi kjcompton ,

     

    According to your statement, I think you only add columns into matrix column field and value field. I think you need to expand your matrix by adding columns in matrix row field.

    I think your data table should look like an unpivot table. I suggest you to add an index before your unpivot or add an index by group after unpivot.

    For refernece:

    Add an index column

    Create Row Number for Each Group in Power BI using Power Query

    Your table should look like as below.

    Matrix is as below.

     

     

    Best Regards,
    Rico Zhou

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.