Forum Discussion
Bar Chart Group and total
Hey gtarrio ,
by default this is not possible.
You have to create a table that is not related to your data model and with a column that contains all the values that you want to visualize on the axis of your chart. This table might look like this:
The Column Group is used as axis.
Unfortunately, you have to map your measure, this measure might look like this:
Measure =
CALCULATE(
SUM('<your facttable>'[numeric column])
, TREATAS(VALUES('<unrelated table>'[Country]), '<your dimension table>'[Counry])
)
Personally I use the Column "Group Identifier" to discover all the elements from the group including grouping elements like SAR, that groups three countries.
Hopefully, this provides some ideas about how to tackle your challenge.
Regards,
Tom
Thanks for the idea, but how can I handle measures (Actual, Budge & Last year are measures)
- TomMartens6 years ago
Super User
Hey gtarrio ,
In my sample measure, replace the numeric expression SUM(...) with your measure [...] and then use the new measure inside the visual.
Regards,
Tom