Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi,
DAX driven help:
I'd like to highlight the max sum values of a specific row and a specific column to provide orientation in a visually driven table.
This will provide an orientation cross of the max value area in the blue area.
Each cell in the blue area represents the max sum value for each row or column. Near the periphery of the eye the sum values are less than max.
The only way I can think of doing this is adding +100 to each max value in row 0 and column 0. Then with conditional formatting I can highlight the max+100 values with another color resulting in the orientation cross.
Currently, it looks like this:
Expected from conditional formatting:
Close-up of visual table axis:
Expected column 0 max values = +100
Expected row 0 max values = +100
Here is the Excel file for anyone to help provide a solution or guidance:
https://drive.google.com/file/d/1FvdnXf8kxgQpZlBQD8jgzGXEs47JTzCN/view?usp=sharing
Thanks
Solved! Go to Solution.
Hi @ronbermudez ,
Please update the formula of measure as below and check if it can return the correct result...
Measure =
VAR m =
CALCULATE ( MAX ( raw_data[Y] ), ALLSELECTED ( raw_data ) )
RETURN
IF (
[Sum of Value] = m
&& MAX ( raw_data[y] ) = 0,
[Sum of Value] + 1,
[Sum of Value]
)
Best Regards
Hi @ronbermudez ,
Whether your problem has been resolved? If yes, could you please mark the helpful post as Answered? It will help the others in the community find the solution easily if they face the same problem as yours. Thank you.
Best Regards
If I hard code the max value, it works. If I use a variable to attain the max value, it doesn't work.
The measure I tried to get the horizontal part of the cross:
measure =
VAR m = 16
VAR other = MAX(raw_data[Y])
return
IF( [Sum of Value] = 16 && MAX(raw_data[y]) =0 , [Sum of Value] +1, [Sum of Value])
The above measure works when I hard code 16 or use VAR m. When I use VAR other, it doesn't work and +1 is added to each cell of the entire row. In other words, I only need +1 added to the max values of the row.
I can't hard code a value, because the max value of the row could change depending how I have the data pivoted.
I'm stumped. Need more help
Hi @ronbermudez ,
Please update the formula of measure as below and check if it can return the correct result...
Measure =
VAR m =
CALCULATE ( MAX ( raw_data[Y] ), ALLSELECTED ( raw_data ) )
RETURN
IF (
[Sum of Value] = m
&& MAX ( raw_data[y] ) = 0,
[Sum of Value] + 1,
[Sum of Value]
)
Best Regards
@Anonymous
Thank You very much. I appreciate the help from you. I've accepted your solution.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
13 | |
9 | |
7 | |
6 | |
6 |
User | Count |
---|---|
20 | |
11 | |
10 | |
9 | |
7 |