Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
I tried using unpivot, but that doesn't seem to be working (or I'm not using it correctly). Here's a description of my issue:
I have a column with many company divisions, another column with region the division covers, and a third column wiht the revenue. There is overlap between the divisions and regions. What I would like to do is convert this table so that there is one row per division, and 12 columns - one for each region - the regional columns contain the revenue data, and if a division doesn't operate in that particular division I'm fine with a $0 value or N/A. I thought the format was good for PowerBI, but I've been asked to put this data in a table/matrix where the columns are the regions, but can be sortable by each particular region. If that's do-able now and I'm misunderstanding please let me know.
Solved! Go to Solution.
Hi,
I dont think that is possible in a matrix visual. In a matrix visual, you can sort by the Grand Total column (not by individual columns).
Hi @mterry,
The Matrix will be very helpful in your scenario.
1. Do you want a calculated table?
2. What kind of sort do you want?
Best Regards,
Dale
Hi @mterry,
Can you show an example and a sample data? You can sort it as the snapshot shows.
Best Regards,
Dale
Sure, below is an example - what I would like to do is be able to sort by the value per region - Midwest, Southeast, etc....as you could do in an excel table. I've also included a screen-shot of the data in excel (this is all just a sample). I believe I could accomplish this by using the table visual, but I would need to convert the data so that there is a column for each region. I was wondering if the same could be accomplished without converting the data as the current format is typically much more useful for PowerBI.
Hi @mterry,
What do you mean by "Sort by the value per region"?
For instance, in the Matrix Visual, I would like to be able to sort largest to smallest for all revenue in the Northwest
Hi,
I dont think that is possible in a matrix visual. In a matrix visual, you can sort by the Grand Total column (not by individual columns).
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 57 | |
| 38 | |
| 34 | |
| 18 | |
| 16 |
| User | Count |
|---|---|
| 68 | |
| 67 | |
| 42 | |
| 30 | |
| 26 |