The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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! |
|
User | Count |
---|---|
28 | |
12 | |
8 | |
7 | |
5 |
User | Count |
---|---|
36 | |
14 | |
12 | |
7 | |
7 |