Forum Discussion
DAX Filter not in date
- 9 years ago
Hi nooneliveforeva,
Would you like to try this formula in a New Table.
Result = FILTER ( 'SourceTable', 'SourceTable'[Year] = 2017 && ( NOT 'SourceTable'[City] IN CALCULATETABLE ( VALUES ( SourceTable[City] ), FILTER ( 'SourceTable', 'SourceTable'[Year] = 2016 ) ) ) )Best Regards!
Dale
Hi sumit4732,
Doesn't work, step 1 give me :
L'expression fait référence à plusieurs colonnes. Plusieurs colonnes ne peuvent pas être converties en une valeur scalaire.
Hi nooneliveforeva,
It looks like you are trying to create a measure, step 1 is for creating a New Table : click on Modeling tab, and than New table
Please let me know if you face any issue with this, also please share shreentshot that will help.
-Sumit
- nooneliveforeva9 years agoFrequent Visitor
Hi sumit4732,
Done that, but this create a "Solution" table with many column,
when i drag a location column to the dashboard, it doesn't contain any data :(
- sumit47329 years agoAdvocate II
Hi nooneliveforeva,
Do you see data in solution table, please make sure that there is no relationship created automatically by PowerBI which is filtering the data.
Also please share screenshot and sample data for clear understanding out problem.-Sumit
- nooneliveforeva9 years agoFrequent Visitor