Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
I am new in power bi. i have a question. my input like this:
and i want the output like this: could you please help to find the equation?
thanks in advance.
Solved! Go to Solution.
Hi @ANU2,
Please locateto Query Editor mode, there, you could convert columns to rows via "Pivot".
First, duplicate [YEAR] and [AGE] columns.
Add an index column.
Select [Year-Copy] field, click the "Pivot Columns" button. Then, remove the [Index] column, you could get the desired output.
Best regards,
Yuliana Gu
Hi @ANU2,
Please locateto Query Editor mode, there, you could convert columns to rows via "Pivot".
First, duplicate [YEAR] and [AGE] columns.
Add an index column.
Select [Year-Copy] field, click the "Pivot Columns" button. Then, remove the [Index] column, you could get the desired output.
Best regards,
Yuliana Gu
User | Count |
---|---|
102 | |
91 | |
87 | |
79 | |
71 |
User | Count |
---|---|
113 | |
105 | |
101 | |
75 | |
64 |