Forum Discussion
All Except function
Hello Guys,
I was trying to use the AllExcept function, but it doesn't work.
I am trying to filter out the years in a column with quarters and years.
I used the following code:
Dataset weken = ALLEXCEPT('Dataset Fusies','Dataset Fusies'[Perioden], 'Dataset Fusies'[Perioden]="2007JJ00")
Name of the table = AllExcept('Sheet1','column1','row = "2007JJ00"||'column1','row = "2008JJ00")
What is it I am doing wrong?
Hi 0xygen27,
You can use the following formula to get year.Year=LEFT(Table[Periodin])
Then use the new calculated field in ALLEXCEPT.
Best Regards,
Angelia
7 Replies
- Vvelarde
Community Champion
In Modeling - New Table :
Add This:
Name of the table = Filter('Sheet1','column1'= "2007JJ00"||'column1'= "2008JJ00")
- v-huizhn-msft
Microsoft Employee
Hi 0xygen27,
Is there any chance to post some sample data for further analysis? And list your expected result. So we can provide the solution which is close to your requirement.
Best Regards,
Angelia
- v-huizhn-msft
Microsoft Employee