Forum Discussion

Renco's avatar
Renco
Advocate II
8 years ago
Solved

Filter table dynamicaly on dates

Hello community,   I'm trying to get a table (or measure) which is filtered through dates. What I want to achieve is to filter the table on "begindatum" (which is starting date in English) and I o...
  • Eric_Zhang's avatar
    Eric_Zhang
    8 years ago

    Renco wrote:

    With an OData connection or any other 'import' connection this works like a charm. However with a DirectQuery connection this solution is not possible.

     

    So if someone knows another way to achieve this goal, suitable for a DirectQuery connection, I'm looking forward to hearing it.

     

    Thanks in advance.


    Renco

    In DirectQuery mode, say if the data source is SQL Server, you can create the columns in SQL instead of in Power BI desktop. Then you can still apply filter to the true/false column.