Forum Discussion

HansBaeten's avatar
HansBaeten
Frequent Visitor
6 years ago
Solved

Sort by date and time

Hello,

 

I'm having a datamodel in a SSAS tabular cube with a lot of timeseries data.

Timeseries are in datetime format. In order to optimize the data model size, I had to split the datetime field in 2 seperate fields: date and time.

 

The end user is working with a lot of table visuals where he/she wants to order the data by the datetime field. In Power BI I can't order a table by 2 columns. The sort by column is disabled as I'm connected to a SSAS tabular cube.

 

In SSAS I can specify a column to order a specific column. But I can't order my date column by the time column, as this column doesn't contain unique values.

 

Does anyone can advice me how to sort a table, based on date and time values, without having a single datetime column in my datamodel?

 

Thanks for the help.

 

Regards,

Hans 

2 Replies