Forum Discussion
Ignore Filters from multiple tables in DAX
- 5 years ago
Anonymous , Try like
CALCULATE(DISTINCTCOUNT('olap fact_Transaction'[order_id]),
FILTER(ALL('olap dim_Date'),[Current_YearMonth]="TRUE"),ALL('olap dim_TransactionType'),ALL('olap dim_Client'))CALCULATE(DISTINCTCOUNT('olap fact_Transaction'[order_id]),
FILTER(ALL('olap dim_Date'),[Current_YearMonth]="TRUE"),ALL('olap dim_TransactionType'),ALL('olap fact_Transaction'),ALL('olap dim_Client'))
Anonymous , If all is across table have multiple all, better to use all on 'OLTP Fact Transactions'
all each all individually
all(all('OLTP DimeTime') , all('OLTP dim_client')
refer for all and removefilters
https://www.linkedin.com/pulse/five-recent-power-bi-functions-you-should-use-more-often-amit-chandak
- Anonymous5 years agoNot applicable
Hi amitchandak ,
Did you mean like this?Current Month's Orders = CALCULATE(DISTINCTCOUNT('olap fact_Transaction'[order_id]),FILTER(ALL(ALL('olap dim_Date'),ALL('olap dim_TransactionType'),ALL('olap fact_Transaction'),ALL('olap dim_Client')),[Current_YearMonth]="TRUE"))But I don't think it's the right syntax. Can you tell me the correct syntax?