Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
marcusbohman
Contributor II
Contributor II

Only display maximum value of dimension in chart

I have a stacked bar chart with two dimensions. First, week formatted as an integer YYYYWW and then a category as string. I want to show only the latest week in the loaded data. (Not last week since the data from last week might not be loaded yet.)

How would I do that?

1 Solution

Accepted Solutions
vunguyenq89
Creator III
Creator III

Use Set Analysis in your chart expression/ measure, for example =Sum({<WeekYear = {"$(=Max(WeekYear ))"}>} Sales)

View solution in original post

2 Replies
vunguyenq89
Creator III
Creator III

Use Set Analysis in your chart expression/ measure, for example =Sum({<WeekYear = {"$(=Max(WeekYear ))"}>} Sales)

marcusbohman
Contributor II
Contributor II
Author

Perfect!