Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
In Power BI, I have a Matrix object. I added a 'data bar' cell element so that each cell displays a data bar. However, the data bars are set to the maximum value of the entire table, but I would like each column or line to have its own maximum reference. Therefore, in the table, each column or line would have its own maximum value as the reference for each cell's data bar. Is it possible to achieve this?
Below the image considering the maximum referente of the entire table.
Hello Slim,
Unfortunately it doesn't work. What I would like is to change the reference of what would be the maximum value of my bar graph for each cell in the table. Using the standard feature of the Matrix object in Visual > Cell Elements > Data Bars, the maximum reference of the bar chart is the entire filtered table. I would like to change this maximum reference per column, not the entire table.
As for more information about the dataset, it can be thought of as any simple table. If a simple table, activate this feature in Visual > Cell Elements > Data Bars, the visual will be like what I shared.
Does this help?
Sorry, indeed I had not read it correctly,
I do not think that it is possible : you can only use the maximum of the whole set, or a fixed maximum that you set up for the whole set in a Matrix.
However you could use a table instead and by creating new measures (using calculate and filter) you could plot the same data and set the maximum of bar chart for each column added in the table.
By doing this you are unfortunately losing your hierarchy on lines so I do not think that it will suit you.
Let me know if I am not clear,
Regards,
Hi @manazaeljora ,
Have you considered adding a measure using DAX "MAX" function and putting this measure as a column of your matrix ?
If it is not working I would need more info about your data.
Regards
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 29 | |
| 27 | |
| 25 | |
| 25 | |
| 18 |
| User | Count |
|---|---|
| 54 | |
| 49 | |
| 43 | |
| 36 | |
| 32 |