maud villedey Posted November 12, 2020 Share Posted November 12, 2020 Hello, I would like to display data labels on map charts. However, as I have data for different dates for each points (historical data), the map displays all the labels of all the historical data for one same point. I only want the latest data. How can I implement this I don't know how to set up filters for this, or if there is some parameter to tick in the map options. Thank you very much, Kind regards, Maud Link to comment Share on other sites More sharing options...
Kirsten Smith (she/her) Posted November 12, 2020 Share Posted November 12, 2020 Try creating a new column that only has the current data in it. Something like: case [Date] when (*current*) then [Date] else "" end as [NewDate] then use the [NewDate] column for your labels. Link to comment Share on other sites More sharing options...
maud villedey Posted November 18, 2020 Author Share Posted November 18, 2020 Hello Kristen, Thank you for your answer. I tried your code but it is not supported .. maybe there is an order difference For exemple I am not sure about what (*current*) is refering to .. thank you very much 1 Kind regards Maud Link to comment Share on other sites More sharing options...
Fabian Duerr Posted November 22, 2020 Share Posted November 22, 2020 You can think of *current* as the latest date for your category (your.unique.identifier). So you should replace that with an expression that uniquly identifies the last date for every category. So something like: *current* -> Max([Date]) OVER ([your.unique.identifier]), where your identifier could be based on multiple columns. Or if you get new data every day: *current* -> Date(DateTimeNow()) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now