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.
SSAS Tabular Filtering Dimension
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:
The filter did not work when no fact is included. Instead, it shows all hours.
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
1 answer
Sort by: Most helpful
-
Venkata Ramanamma Uppu (Quadrant Technologies LLC) 0 Reputation points Microsoft External Staff
2025-10-13T11:30:12.5866667+00:00