Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Sign up nowGet Fabric certified for FREE! Don't miss your chance! Learn more
Hi There,
I would like to know whether it is possible to plot a graph when multiple parameters are available. I mean there is set of rows of data and it (legends) repeats for different SBUs and the data differs through years in column.
I would like to plot one graph in Power BI and provide a slicer option to select the SBU and graph should change the values accordingly. Is this possible in Power BI?
Below is the screenshot of the data.
Regards,
PKR
Solved! Go to Solution.
Hi @Anonymous,
If I understand you correctly, it could be done in Power BI. You need to transform your data first with the Pivot and Unpivot option in Query Editor. The transformed data should be like below.
| SBU | MonthYear | Demand Plan $ | Actual $ | Prior Year $ | … | Statistical KG |
| PG | Jan-16 | $1,000,000 | $1,000,000 | $1,000,000 | $1,000,000 | $1,000,000 |
| PG | Feb-16 | $1,000,000 | $1,000,000 | $1,000,000 | $1,000,000 | $1,000,000 |
| PG | Mar-16 | $1,000,000 | $1,000,000 | $1,000,000 | $1,000,000 | $1,000,000 |
| PG | Apr-16 | $1,000,000 | $1,000,000 | $1,000,000 | $1,000,000 | $1,000,000 |
| PG | May-16 | $1,000,000 | $1,000,000 | $1,000,000 | $1,000,000 | $1,000,000 |
| PG | Jun-16 | $1,000,000 | $1,000,000 | $1,000,000 | $1,000,000 | $1,000,000 |
| PG | Jul-16 | $1,000,000 | $1,000,000 | $1,000,000 | $1,000,000 | $1,000,000 |
| MI | Jan-16 | $1,000,000 | $1,000,000 | $1,000,000 | $1,000,000 | $1,000,000 |
| MI | Feb-16 | $1,000,000 | $1,000,000 | $1,000,000 | $1,000,000 | $1,000,000 |
| MI | Mar-16 | $1,000,000 | $1,000,000 | $1,000,000 | $1,000,000 | $1,000,000 |
| MI | Apr-16 | $1,000,000 | $1,000,000 | $1,000,000 | $1,000,000 | $1,000,000 |
| MI | May-16 | $1,000,000 | $1,000,000 | $1,000,000 | $1,000,000 | $1,000,000 |
| MI | Jun-16 | $1,000,000 | $1,000,000 | $1,000,000 | $1,000,000 | $1,000,000 |
| MI | Jul-16 | $1,000,000 | $1,000,000 | $1,000,000 | $1,000,000 | $1,000,000 |
For more details about how to transform data in Power BI Query Editor, you can refer to the following articles. ![]()
https://powerbi.microsoft.com/en-us/documentation/powerbi-desktop-common-query-tasks/
http://radacad.com/pivot-and-unpivot-with-power-bi
Regards
Hi @Anonymous,
If I understand you correctly, it could be done in Power BI. You need to transform your data first with the Pivot and Unpivot option in Query Editor. The transformed data should be like below.
| SBU | MonthYear | Demand Plan $ | Actual $ | Prior Year $ | … | Statistical KG |
| PG | Jan-16 | $1,000,000 | $1,000,000 | $1,000,000 | $1,000,000 | $1,000,000 |
| PG | Feb-16 | $1,000,000 | $1,000,000 | $1,000,000 | $1,000,000 | $1,000,000 |
| PG | Mar-16 | $1,000,000 | $1,000,000 | $1,000,000 | $1,000,000 | $1,000,000 |
| PG | Apr-16 | $1,000,000 | $1,000,000 | $1,000,000 | $1,000,000 | $1,000,000 |
| PG | May-16 | $1,000,000 | $1,000,000 | $1,000,000 | $1,000,000 | $1,000,000 |
| PG | Jun-16 | $1,000,000 | $1,000,000 | $1,000,000 | $1,000,000 | $1,000,000 |
| PG | Jul-16 | $1,000,000 | $1,000,000 | $1,000,000 | $1,000,000 | $1,000,000 |
| MI | Jan-16 | $1,000,000 | $1,000,000 | $1,000,000 | $1,000,000 | $1,000,000 |
| MI | Feb-16 | $1,000,000 | $1,000,000 | $1,000,000 | $1,000,000 | $1,000,000 |
| MI | Mar-16 | $1,000,000 | $1,000,000 | $1,000,000 | $1,000,000 | $1,000,000 |
| MI | Apr-16 | $1,000,000 | $1,000,000 | $1,000,000 | $1,000,000 | $1,000,000 |
| MI | May-16 | $1,000,000 | $1,000,000 | $1,000,000 | $1,000,000 | $1,000,000 |
| MI | Jun-16 | $1,000,000 | $1,000,000 | $1,000,000 | $1,000,000 | $1,000,000 |
| MI | Jul-16 | $1,000,000 | $1,000,000 | $1,000,000 | $1,000,000 | $1,000,000 |
For more details about how to transform data in Power BI Query Editor, you can refer to the following articles. ![]()
https://powerbi.microsoft.com/en-us/documentation/powerbi-desktop-common-query-tasks/
http://radacad.com/pivot-and-unpivot-with-power-bi
Regards
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 65 | |
| 64 | |
| 49 | |
| 21 | |
| 18 |
| User | Count |
|---|---|
| 119 | |
| 117 | |
| 38 | |
| 36 | |
| 29 |