Forum Discussion
Dynamic Filtering of derived DAX table based on the filters applied to the source table
- 9 years ago
abhirajkakani wrote:
Hi Sumit,
Thanks for the reply. The real problem which i'm trying to solve cannot be solved using a measure. It requires calculated columns and hence it is very necessary for me to get a derived DAX table.
I cannot share the real problem for the obvious reasons but measures cannot be used for the operations that i need to perform on the table.
Not like measures, calculate columns/tables are computed during database processing(e.g. data refresh) and then stored in the model, they do not response to user selections on the report.
Measure actually may work, I think. You could declare calculated table variable and calculate against the variable, the variable would repsonse to the slicers.
Measure = VAR tempTable = CALCULATETABLE ( SUMMARIZE ( 'table', 'table'[Name], "TOTAL", SUM ( 'table'[Score] ) ) ) RETURN COUNTROWS ( tempTable )
Hello Kaushik,
Thanks for the reply. However, I need the date filter to have an effect on the derived table.
I just gave these tables for reference. My actual problem has a lot of calculations which require a Derived DAX table.
- abhirajkakani9 years agoFrequent Visitor
Let me explain my problem again.
I have a 'source table' and i'm summarizing that table using DAX queries to get the 'derived table'. I'm creating a lot of calculated columns on the 'derived table'.
Now, if i apply a filter on my 'source table' then what i want is that the 'derived table' should be re-calculated to just include the filtered 'source table'
- kaushikd9 years ago
Resolver II
Yup now i got your question.
Just give me some time to think.....:mantongue: