SSAS Tabular Filtering Dimension

vincent 0 Reputation points
2025-09-25T08:38:18.6333333+00:00

I am migrating from SSAS Multidimensional to Tabular. However I faced a problem related to filtering dimension. While there is no problem filtering a dimension with a related fact, like below:

Screenshot 2025-09-25 162104

The filter did not work when no fact is included. Instead, it shows all hours.

Screenshot 2025-09-25 162017

It is not the case in multidimensional and it is able to only show the hours that have data.

Similar things happen to invoice number. If the user want to see the invoice issued in a certain day, he needs to include a related fact first, which is kind of counter-intuitive to what a filter should work. Does anyone have similar problem? How should I solve it? Thank you!

SQL Server Analysis Services
SQL Server Analysis Services
A Microsoft online analytical data engine used in decision support and business analytics, providing the analytical data for business reports and client applications such as Power BI, Excel, Reporting Services reports, and other data visualization tools.
{count} votes

1 answer

Sort by: Most helpful
  1. Venkata Ramanamma Uppu (Quadrant Technologies LLC) 0 Reputation points Microsoft External Staff
    2025-10-13T11:30:12.5866667+00:00

    Hi Vincent, Thank you for reaching out to Q&A Forum. In SSAS Tabular, unlike Multidimensional, unrelated dimension members still appear when no fact is used. To fix this create a DAX measure like: Has Sales Data = IF(CALCULATE(COUNTROWS('FactSales')) > 0,1,0 Then use it as a visual filter and show items where the value = 1. Alternatively set the relationship's cross filter direction to Both for automatic filtering. You can also build a calculated dimension table showing only members with data. These methods make slicers and visuals display only dimension values that have related facts - replicating Multidimensional behavior.

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.