March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch 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.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
40 | |
26 | |
17 | |
11 | |
10 |
User | Count |
---|---|
58 | |
52 | |
23 | |
14 | |
11 |