how can I get my slicer of age groups to be sorted properly
I am trying to create a measure to calculate the time difference between the time when the call is received and the time when the ambulance is dispatched, but it’s not letting me select the date or time columns - have I done something wrong somewhere?
It’s the same as your Age Group column, but putting numerical values instead of the bands. I then sorted your Age Group column by this new column, putting the slicer in numerical order.
There may be a more elegant solution, as now if the bands change you must remember to change it in 2 places.
I have split all the date/time columns. I now have created a lookup date table and lookup time table
and they are not functioning properly.
If you look, I currently have 2 slicers, “Dateofcall” - this is coming from the “calls” table, the second one is the “Date” Slicer, which is coming from the “Dates” lookup table. - This is the slicer I am looking to use.
there is a measure I am trying to create “Time to Dispatch”, which I hoped would allow me to select time columns so I can calculate the difference - but unable to do that.
I am not sure if I am taking the correct approach, and I couldn’t find much on the internet with a similar case.
@jamie.bryan - Thank you - the age group slicer is now sorted.
My current pbix file Attached jpbix.pbix (489.6 KB)
While the first was an issue of formatting happening due to some locale settings. The solution that I found for second one is to do this in power query and then use dax as required.
Hello @jps! Good to hear that you found the solution
Kindly mark as solution the answer that solved your query so other users with the same problem can see the solution faster.