Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hi,
This is my bar chart.
In the legend the 'Year' (column of Date table), the Y-axis 'Region' (column of Country table), the X-axis 'Sum Quantity'
The bar overlaps sometimes the labels. To prevent that I want to compute a MAX value and compute it with 1.2
This computed measure I will then put in X-axis / Range / Maximum
If I wouldn't have a legend, the next measure would work
Solved! Go to Solution.
@PowerRon , Try using
DAX
_Max X =
MAXX(
SUMMARIZE(
'YourTable',
'Date'[Year],
'Country'[Region],
"SumQuantity", [Sum Quantity]
),
[SumQuantity]
) * 1.2
Proud to be a Super User! |
|
@PowerRon , Try using
DAX
_Max X =
MAXX(
SUMMARIZE(
'YourTable',
'Date'[Year],
'Country'[Region],
"SumQuantity", [Sum Quantity]
),
[SumQuantity]
) * 1.2
Proud to be a Super User! |
|