Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hi, i'd like a filter not impact in a measure, when selecting this. Actually, when i activate the filter, bar of Quantità No Prom disappear but i want that these stay there.
Without filter:
Selecting filter:
if it helps, here is the measure for Quantità No Prom
Solved! Go to Solution.
I have tested such scenario with a dummy data. It is perfectly working.
This is my only data set. I have tried to find out average where that average should not affected by date filter.
Here is the dataset:
See my measure and and slicer:
See test is not affected when I select other data:
I would suggest you to independently check measure , is the responding with the slicer selection or not.
Hi @Anonymous You can use ALL() function to remove filter from specific table or column. If you don't want your calendar table interact with the measure then use ALL('Calendar').
Hope this helps!!
If this solved your problem, please accept it as a solution!!
Best Regards,
Shahariar Hafiz
Hi, thanks, but where i have to put ALL() in my DAX formula?
Inside calculate function.
Try this:
CALCULATE(COUNTX(VALUES(ANCLI[PuntID]),_1),FILTER(VALUES(ANCLI[PuntID]),[Quant]<>BLANK()), all(Calendar))
it doesn't work. How can i edit this?
You have used IF condition, where you would not be able to use ALL() filter funtion. Try this for var _3 :
i tried but doesn't work
Since I don't know about your data, your motivation, it is hard to tell specific solution. Replace your measure with the below code (Try this, If not I am sorry):
Replace calendar with your table. This measure will check if true, the evalute divide else blank and remove all filters from calendar table.
Hope this solve your problem.
i tried again, but it didn't work.
I have tested such scenario with a dummy data. It is perfectly working.
This is my only data set. I have tried to find out average where that average should not affected by date filter.
Here is the dataset:
See my measure and and slicer:
See test is not affected when I select other data:
I would suggest you to independently check measure , is the responding with the slicer selection or not.
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
39 | |
26 | |
21 | |
19 | |
10 |
User | Count |
---|---|
41 | |
36 | |
35 | |
20 | |
14 |