Forum Discussion
Arnoh
6 years agoHelper III
dax allselected
Hi, I made a measure with allselected. Now i would like to exclude "one" filter apllied on this report page. Thanx for any help.
Arnoh
6 years agoHelper III
Hi,
This is my current dax measure
verschil_vorig jaar v2 =
var cumulatiefvorigjaar =
CALCULATE(-SUM(zmutatie[bedrag]);
FILTER(ALLSELECTED(zmutatie);zmutatie[boekjaar]+1=max(zmutatie[boekjaar]) &&
zmutatie[regeltype]<>16&&zmutatie[Week_iso]<=MAX(zmutatie[Week_iso])))
return
([Cumulatiefzmutatie]-cumulatiefvorigjaar)/cumulatiefvorigjaar
I need te clear te applied filter on: ; z_datum_tabel[jaar_selectie]
v-alq-msft
6 years agoCommunity Support
Hi, Arnoh
Based on my research, you may try the following measure.
verschil_vorig jaar v2 =
VAR cumulatiefvorigjaar =
CALCULATE (
- SUM ( zmutatie[bedrag] );
ALL ( 'z_datum_tabel'[jaar_selectie] );
FILTER (
ALLSELECTED ( zmutatie );
zmutatie[boekjaar] + 1
= MAX ( zmutatie[boekjaar] )
&& zmutatie[regeltype] <> 16
&& zmutatie[Week_iso] <= MAX ( zmutatie[Week_iso] )
)
)
RETURN
( [Cumulatiefzmutatie] - cumulatiefvorigjaar ) / cumulatiefvorigjaar
Best Regards
Allan
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Arnoh6 years agoHelper III
Hi Allen,
Thanx for your reaction. I did not solve the issue.
I made an other function withe allexept but the disadvatage of it is that when i add another filter i need te adjust the measure as well.
Do you have any other suggestions.
Thanx