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 data set where columns H-P are screens that measure the % of the sample that were retained on that screen. What I want to do is have the column headings in H-P be the X axis and the values underneath it be the Y axis. I want to be able to take the average of each column with whatever timeframe I select to give me a distribution of the product.
Here's what the data looks like:
And here's what I want BI to show:
I was only able to make that graph by pivoting the data to give me the averages and on a seperate sheet in excel I made the table seen above.
Is there a way to do this without reformatting the entire data set?
Solved! Go to Solution.
Hi @DirkDragon
The data format you shared in Excel is 'wide' format. I believe 'long' data format is more appropriate for data analysis and visual representation purposes.
Also, Power BI have power query and DAX which can calculate the things on the way. So your base tables should have raw data and preferably not the already calculated matrices (if possible).
I attach a .pbix file using Power query to transform the data, advantage is that making desired visual is right away possible and you still you can generate the same table view even with this transformed data (matrix visual).
https://drive.google.com/file/d/1u7sxJYXbk3BRSLQWkeYtGoNTuTNCC4bt/view?usp=sharing
Hope it helps.
Hi @DirkDragon
Can you please share the excel file here if such data is not sensitive.
Hope it helps.
Hi @DirkDragon
The data format you shared in Excel is 'wide' format. I believe 'long' data format is more appropriate for data analysis and visual representation purposes.
Also, Power BI have power query and DAX which can calculate the things on the way. So your base tables should have raw data and preferably not the already calculated matrices (if possible).
I attach a .pbix file using Power query to transform the data, advantage is that making desired visual is right away possible and you still you can generate the same table view even with this transformed data (matrix visual).
https://drive.google.com/file/d/1u7sxJYXbk3BRSLQWkeYtGoNTuTNCC4bt/view?usp=sharing
Hope it helps.
Thank you! Very helpful.
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
62 | |
62 | |
52 | |
39 | |
24 |
User | Count |
---|---|
85 | |
57 | |
45 | |
43 | |
38 |