Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hello All,
I am trying to filter the date by using the method creating datecode as datenumber+monthnumber. It is getting sorted in the Data level .
However it is not getting sorted in Visual level, however I have not added datecode in my visual but I have created mm-yyyy which is text format. datecode sorting in datalevel is not effecting in visual.
Please Help!!
Solved! Go to Solution.
Hi @Chaithanya6 ,
Because in Power BI, will according to the ASCII code to sort the data in visual for string type field. Please try to sort the string type field by other column firstly, then add it to the visual.
Best regards,
Community Support Team_Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Chaithanya6 ,
Because in Power BI, will according to the ASCII code to sort the data in visual for string type field. Please try to sort the string type field by other column firstly, then add it to the visual.
Best regards,
Community Support Team_Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
It worked thanks.. I was in assumption that it gets sorted automatically. I can removed the DateMM-YY from viz then sorted by datecode then added to viz, it worked. Thanks
@Chaithanya6 Did you set a Sort By column?
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.