Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi,
I have a calculated column with the dax expression and the whole number data type
Days Past = DATEDIFF(INVOICE[PAYMENT_DUE_DATE],TODAY(),day)
If I set this as the first row header in a matrix and click the down arrow to sort it shows
66
62
6
5
4
37
35
Instead of sort it by number values ...any ideas?
Thanks
Solved! Go to Solution.
Hi @Anonymous ,
According to your description, I create a sample and can't reproduce your problem.
Please try to sort the Days Past column by the PAYMENT_DUE_DATE column. Click the Days Past column > Sort by column > PAYMENT_DUE_DATE.
Best Regards,
Community Support Team _ kalyj
If this post helps, then please considerAccept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
According to your description, I create a sample and can't reproduce your problem.
Please try to sort the Days Past column by the PAYMENT_DUE_DATE column. Click the Days Past column > Sort by column > PAYMENT_DUE_DATE.
Best Regards,
Community Support Team _ kalyj
If this post helps, then please considerAccept it as the solution to help the other members find it more quickly.
@Anonymous , Make sure the data type and format both are the whole numbers.
You can sort on row/Measure. Column will sort based on the sort order of column used
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.