Forum Discussion
Issue sorting a column (Time constraint) on X-axis with multiple same text values/labels
Seeking help to have the highlited column sort on X-axis based on a switch between Month and quarters, the visual sorts as expected for Month Labels, however it won't for Quarter labels (hence the values are not unique to sort based on an other column) (unique Key on Fiscal Month Key),
I tried creating Index column or a sort column, however I'm running into error with multiple values for a unique value in an other column, or a circular dependency.
I'd be grateful for one of you can show me a direction into solving this. I have exhausted some previously provided solutions and hoping to see if they are any other means. Thanks so much in advance
10168 ,
Tried doing some quick research. Came across the following:
https://www.youtube.com/watch?v=TLiqqIsk1CU
1st comment is this:
10168 ,
Your Column [Fiscal Quarter Year] is simply a text value.
So sorting alphanumerically,
FY19-20 Q1 comes before
FY19-20 Q2 etc..
Similarly,
FY19-20 comes before
FY20-21 which comes before
FY21-22.
So always better to have yyyy-mm in your axis rather than mm-yyyy.
Does this explain it?
11 Replies
- rsbinCommunity Champion
10168 ,
I recommend modifying your [Fiscal Quarter Label] to read Year then Quarter:
Fiscal Quarter Label
FY19-20 Q1 FY19-20 Q2 FY19-20 Q3 FY19-20 Q4 FY20-21 Q1 FY20-21 Q2 FY20-21 Q3 FY20-21 Q4 If you must display Quarter first, then use this new column as your SortOrder.
Regards,
- 10168Helper I
Thank you ! that was great recommendation, I see how switching would benefit me into sorting, The axis does sort when I sort axis in the visual by the Fiscal Quarter Label, and Asc, however it defaults back to previous based on the parameter selection, the parameter is too important for me as it lets my end user switch between the labels for Months and Quarters
Do you have any recommendations to avoid that? Please and thank you !!
Numerous youtube videos on Bookmarks if you wanna take the time. Much better explained than I can do here.