Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi everyone. This issue has got me stuck for at least a few days now. Any help is appreciated.
If you checked the PBIX file attached, you'll notice that the results being displayed on 2 pages (Bucket filter, slider filter) are different even though the underlying data, DAX measure definitions are exactly same. Only difference being, when using bucket slicer, it returns TRUE value(expected value) but not in case of the slider created using Marks column.
We have explored the ideas of Auto-Exist (explained here) and think that that is what's happening here. However, we're having trouble proving that theory. Also, we examined the underlying DAX query using Performance Analyzer/ DAX Studio. It uses TREATAS() in case of bucket slicer and KEEPFILTERS() when using slider.
It'd be immensely helpful to get to the solution. Is it possible to somehow view the intermediate/[summary]/underlying data after applying slicers, using DAX to check exactly which records are being considered ?
Here is the link to download both file PBIX & Data file (XLSX).
https://drive.google.com/drive/folders/1LxiLIk_k6j1ick0nfbu4ivyDCe57Ukjb?usp=sharing
Please let us know if more information/details are needed.
@Greg_Deckler @amitchandak @Jihwan_Kim @Ashish_Mathur @AlbertoFerrari
As you figured out, the problem IS auto-exists.
Long story short: when you filter the bucket, the filter is on "<50", and auto-exist does not create problems, because you have the value "<50" in the Physics subject. When you place the filter on the marks, it becomes a filter on values of the column (that is, all the values less than 50) and auto-exist becomes an issue. Under Physics, it will find only (23, 45). The value of 32 that is in Maths is not found. When you remove the filter on the Subject, you remain with a filter on (23, 45) that does not find 32. The same, with the filter on the bucket, produces a filter for "<50", which is a shared value between Maths and Physics.
I know... not super-clear. It is very hard to be clear in just a few lines.
Anyway, I liked the example a lot. With your permission, I am going to record a video about this specific example, as it shows very well some of the best (worst?) DAX shenanigans 🙂
When you say remove the filter on the subject, you mean to say when we use ALL('Source Data'[Subject]) modifier, right ? But then, since it's leaving out subject records like that, one can say that ALL() is not behaving as one would expect.
Like you said, it's not super-clear. 😅
About using the example for a video, in spirit of community, by all means. 😊 Looking forward to it.
Here it is: Auto-exist on clusters or numbers - Unplugged #22 - YouTube
Have fun.
Alberto
Hi @theDarkPrince ,
take a look at the attached PBIX file.
With kind regards from the town where the legend of the 'Pied Piper of Hamelin' is at home
FrankAT (Proud to be a Datanaut)
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
144 | |
72 | |
62 | |
51 | |
48 |
User | Count |
---|---|
206 | |
90 | |
62 | |
59 | |
57 |