Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I have a table in Oracle with data as below:
Need to represent the data in PowerBI in below format:
I tried transposing the data, but it didn't work as expected. Need Help!
The original issue was resolved. The best way to get help on subsequent requirements is to start a new post related specifically to that issue.
Hve you looked at Power BI Paginated Reports for this new requirement?
Proud to be a Super User! | |
PowerBI paginated reports I have not tried. Need to explore the same.
It seems the requirements for this solution keep changing.
There is no way that I know if to hide columns in a Matrix visual. If you want [Last Month] minus [The month before] you are going to get it for every month column.
You man need to do this in a Power BI Paginated Report, which gives you much more control over the columns in a Tablix.
Proud to be a Super User! | |
The requirement is same from the beginning , i am trying to achieve one by one. Thanks for your help. Please share if you have any examples for the same.
Are you saying that you need a way to create sub-totals for "On Prem Servers" and "Cloud Servers"? Then you can add manually generated table with Category and Sub-Category as follows:
Category Sub
====== ===
On Prem On Prem Physical
On Prem On Prem VM
...
Now join your data table to the Sub-Category above, and add the Category as the highest level of breakdown on the Rows of the Matrix.
Proud to be a Super User! | |
Thanks for your help. I am able to get the Total count separately. For calculating the difference +/- Prev Month, i have created a measure to find the difference between values for (current month -1) & (current month -2), but it's not working any suggestion will be helpful.
I suggest you enable the preview feature of Visual Calculations and read up on them here: Using visual calculations in Power BI Desktop - Power BI | Microsoft Learn
Some highlights:
* Are evaluated only in the scope of the Visual in which they are devined
* Don't have to worry about filter context
* Uses only the data elements available in the Visual
* Has nice WINDOWING functions like PREVIOUS, NEXT, MOVING AVERAGE, etc.
I set up this on a sample visual with dummy numbers. I devined a [Previous Month] Visual Calculation as follows:
Try it out.
Cheers!
Proud to be a Super User! | |
The raw data looks to be counts, correct? I suggest you UNPIVOT that data in Power Query so that you get data like this:
Date Category Count
1/1/24 Azure VMs 123
...
Back in the Model view
Now join the Date column to a Date Dimension that has Month and Year attributes, or better, a single column that displays like you want in the Column Header: "May '23", etc.
Now add the data to a Matrix visual on your report page. Put the Cagetory as the Rows, Month/Year as the columns, and the Count as the aggregation.
Hope that helps.
Proud to be a Super User! | |
Thanks for your inputs. I am able to get the data in specified format. But the total is adding all the counts. TOTAL_ON_PREM_SERVERS is the total of On-Prem count and TOTAL SERVER is the overall count. I have to segregate the data as per the screenshot above.
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
72 | |
72 | |
38 | |
31 | |
26 |
User | Count |
---|---|
94 | |
50 | |
43 | |
40 | |
35 |