Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.
Hi All,
Pls help me with below query.
I have below table which I have uploaded on Power bi.
Category | JAN 2023 Parameter1 | JAN 2023 Parameter2 | JAN 2023 Parameter3 | FEB 2023 Parameter1 | FEB 2023 Parameter2 | FEB 2023 Parameter3 | MAR 2023 Parameter1 | MAR 2023 Parameter2 | MAR 2023 Parameter3 | APR 2023 Parameter1 | APR 2023 Parameter2 | APR 2023 Parameter3 |
Category1 | 32 | 48 | 61 | 77 | 100 | 65 | 47 | 61 | 88 | 81 | 35 | 33 |
Category2 | 71 | 49 | 21 | 35 | 75 | 56 | 88 | 24 | 32 | 47 | 20 | 45 |
Category3 | 28 | 67 | 54 | 63 | 99 | 52 | 23 | 28 | 88 | 92 | 56 | 43 |
Category4 | 100 | 98 | 50 | 97 | 55 | 77 | 45 | 45 | 79 | 52 | 51 | 68 |
Category5 | 65 | 41 | 46 | 31 | 81 | 32 | 90 | 75 | 41 | 67 | 29 | 70 |
Category6 | 51 | 30 | 98 | 67 | 56 | 55 | 96 | 68 | 96 | 58 | 88 | 79 |
As I want all Months to be in month column so that I can create trend charts, I unpivot respective parameter columns for every month column & after that the data looks as below-
You can see the Month row for every paramter & not alligned. How can I bring same month/year for every parameter in same row so that I can have only 1 month/year column & I can generate some combo charts with multiple parameters combinaton?
Solved! Go to Solution.
Hi @harshadrokade ,
You can use the "Unpivot Columns" feature in Power BI to bring all the months into a single column. After that, you can use the "Group By" feature to group the data by the month column and the parameter column. This will give you a single row for each month and parameter combination. You can then use this data to create combo charts with multiple parameter combinations.
Here are the steps to unpivot columns:
Here are the steps to group by:
How to Get Your Question Answered Quickly
If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .
Best Regards
Community Support Team _ Rongtie
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @harshadrokade ,
You can use the "Unpivot Columns" feature in Power BI to bring all the months into a single column. After that, you can use the "Group By" feature to group the data by the month column and the parameter column. This will give you a single row for each month and parameter combination. You can then use this data to create combo charts with multiple parameter combinations.
Here are the steps to unpivot columns:
Here are the steps to group by:
How to Get Your Question Answered Quickly
If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .
Best Regards
Community Support Team _ Rongtie
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
thanks
Check out the November 2023 Power BI update to learn about new features.
Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.