Forum Discussion
Error when sorting by column (and table made with DAX language)
- 7 years ago
Hi DM_BI,
you cannot sort mes inter by num because the value of num depends on mes inter.
Try to calculate your 'num' column the same way you calculate the 'mes inter' column but by assigning the month number instead of the month name. And then you can calculate the 'mes inter' based on the 'num' column. afterwards you should be able to sort 'mes inter' by 'num'
I added the following columns :
Día = DAY(DimDate[Date].[Date])
Anyone?
- LivioLanzo7 years agoSolution Sage
Hi DM_BI,
you cannot sort mes inter by num because the value of num depends on mes inter.
Try to calculate your 'num' column the same way you calculate the 'mes inter' column but by assigning the month number instead of the month name. And then you can calculate the 'mes inter' based on the 'num' column. afterwards you should be able to sort 'mes inter' by 'num'
- DM_BI7 years agoHelper III